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

Tor Lillqvist tml at collabora.com
Thu Feb 2 17:21:05 UTC 2017


 sw/source/uibase/app/swdll.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 90c4e14a06d48b369a5bbb93054bb6d51f81c347
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Feb 2 19:19:21 2017 +0200

    Bin code that has been in #if 0 since 2011
    
    Change-Id: I218f94c546fb1635691e33e41f6e3f69b93b8f83

diff --git a/sw/source/uibase/app/swdll.cxx b/sw/source/uibase/app/swdll.cxx
index d621e47..6a9d689 100644
--- a/sw/source/uibase/app/swdll.cxx
+++ b/sw/source/uibase/app/swdll.cxx
@@ -166,12 +166,6 @@ SwDLL::~SwDLL()
     ::FinitCore();
     // sign out Objekt-Factory
     SdrObjFactory::RemoveMakeObjectHdl(LINK(&aSwObjectFactory, SwObjectFactory, MakeObject ));
-#if 0
-    // the SwModule must be destroyed
-    SwModule** ppShlPtr = (SwModule**) GetAppData(SHL_WRITER);
-    delete (*ppShlPtr);
-    (*ppShlPtr) = NULL;
-#endif
 }
 
 sw::Filters & SwDLL::getFilters()


More information about the Libreoffice-commits mailing list