[Libreoffice-commits] .: sd/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 7 03:58:37 PST 2013


 sd/source/ui/toolpanel/ToolPanelFactory.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 91dda10001e984743186c6ace06be0718d510d63
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jan 7 12:45:00 2013 +0100

    Revert "Clang doesn't like that ToolPanelFactory::~ToolPanelFactory() is protected"
    
    This reverts commit 504b6f0cec5cad01a64e723434d636bfb867ecfa, which was a
    workaround for broken 5ea7e74c29f7279b6c31d38185ace576f68f4fb2 "fix some memory
    leaks in sd" now fixed with 5ea6f6d400e59e037032fb3091c3f6880b562ce9 "UNO objects
    must be allocated on the heap."

diff --git a/sd/source/ui/toolpanel/ToolPanelFactory.cxx b/sd/source/ui/toolpanel/ToolPanelFactory.cxx
index fdc58a1..059326e 100644
--- a/sd/source/ui/toolpanel/ToolPanelFactory.cxx
+++ b/sd/source/ui/toolpanel/ToolPanelFactory.cxx
@@ -91,6 +91,7 @@ namespace sd { namespace toolpanel
         // XInitialization
         virtual void SAL_CALL initialize( const Sequence< Any >& aArguments ) throw (Exception, RuntimeException);
 
+    protected:
         virtual ~ToolPanelFactory();
 
     private:


More information about the Libreoffice-commits mailing list