[Libreoffice-commits] core.git: sd/source

Caolán McNamara caolanm at redhat.com
Wed May 6 12:27:17 PDT 2015


 sd/source/ui/view/ViewTabBar.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit dae152ac6b38065f8a102e8981749c98bdfe9869
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed May 6 20:25:41 2015 +0100

    VclPtr: one ref too many
    
    Change-Id: Ib045828769bece2a6524d2d84b6e8ee23d305e28

diff --git a/sd/source/ui/view/ViewTabBar.cxx b/sd/source/ui/view/ViewTabBar.cxx
index 1c39bfa..72b4301 100644
--- a/sd/source/ui/view/ViewTabBar.cxx
+++ b/sd/source/ui/view/ViewTabBar.cxx
@@ -91,7 +91,7 @@ ViewTabBar::ViewTabBar (
 {
     // Set one new tab page for all tab entries.  We need it only to
     // determine the height of the tab bar.
-    mpTabPage.reset(new TabPage (mpTabControl.get()));
+    mpTabPage.reset(VclPtr<TabPage>::Create(mpTabControl.get()));
     mpTabPage->Hide();
 
     // add some space before the tabitems


More information about the Libreoffice-commits mailing list