[Libreoffice-commits] core.git: include/sfx2

Stephan Bergmann sbergman at redhat.com
Mon Jun 22 00:45:56 PDT 2015


 include/sfx2/sidebar/UnoPanel.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2885e157674dbefa7d9b984a399fabd1238eeedd
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jun 22 09:45:29 2015 +0200

    loplugin:vclwidgets
    
    Change-Id: I5f65681bf3e44cbce62f46b9ffc0e5bef3aeeda4

diff --git a/include/sfx2/sidebar/UnoPanel.hxx b/include/sfx2/sidebar/UnoPanel.hxx
index 051a00d..0d396e9 100644
--- a/include/sfx2/sidebar/UnoPanel.hxx
+++ b/include/sfx2/sidebar/UnoPanel.hxx
@@ -74,8 +74,8 @@ private:
     const OUString mPanelId;
     const OUString mDeckId;
 
-    sfx2::sidebar::Deck* mpDeck;
-    sfx2::sidebar::Panel* mpPanel;
+    VclPtr<sfx2::sidebar::Deck> mpDeck;
+    VclPtr<sfx2::sidebar::Panel> mpPanel;
 
     sal_Int32 GetMaxOrderIndex(sfx2::sidebar::ResourceManager::PanelContextDescriptorContainer aPanels);
     sal_Int32 GetMinOrderIndex(sfx2::sidebar::ResourceManager::PanelContextDescriptorContainer aPanels);


More information about the Libreoffice-commits mailing list