[Libreoffice-commits] .: cppu/source cppu/util
Jan Holesovsky
kendy at kemper.freedesktop.org
Fri Nov 12 07:22:25 PST 2010
cppu/source/typelib/typelib.cxx | 2 --
cppu/util/target.pmk | 9 +--------
2 files changed, 1 insertion(+), 10 deletions(-)
New commits:
commit ed2eca6839234a56165b3688a8434dd1608e1e2a
Author: Jan Holesovsky <kendy at suse.cz>
Date: Fri Nov 12 16:21:07 2010 +0100
Revert "Add workaround to avoid crash when exiting LibreOffice"
This reverts commit 146e2fbca20f5cba3410d3d042ae6222a565dd7e.
The workaround is has to be present in libreoffice-3-3, but we do not want to
have it in master, so that eventually it is fixed in the end :-)
diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx
index 738f35d..10a7cb1 100644
--- a/cppu/source/typelib/typelib.cxx
+++ b/cppu/source/typelib/typelib.cxx
@@ -275,7 +275,6 @@ inline void TypeDescriptor_Init_Impl::callChain(
//__________________________________________________________________________________________________
TypeDescriptor_Init_Impl::~TypeDescriptor_Init_Impl() SAL_THROW( () )
{
-#ifndef CPPU_LEAK_STATIC_DATA
if( pCache )
{
TypeDescriptionList_Impl::const_iterator aIt = pCache->begin();
@@ -355,7 +354,6 @@ TypeDescriptor_Init_Impl::~TypeDescriptor_Init_Impl() SAL_THROW( () )
#endif
delete pCallbacks;
pCallbacks = 0;
-#endif // CPPU_LEAK_STATIC_DATA
if( pMutex )
{
diff --git a/cppu/util/target.pmk b/cppu/util/target.pmk
index 70be64b..3befcb1 100644
--- a/cppu/util/target.pmk
+++ b/cppu/util/target.pmk
@@ -45,16 +45,9 @@ CFLAGS += -O
.ELSE
-.IF "$(COM)" == "MSC"
# msvc++: no inlining
+.IF "$(COM)" == "MSC"
CFLAGS += -Ob0
-.IF "$(cppu_no_leak)" == ""
-.IF "$(bndchk)" == ""
-# msvc++: workaround for strange crash at exit: just don't do the
-# cleanup of types and whatnot...
-CFLAGS += -DCPPU_LEAK_STATIC_DATA
-.ENDIF
-.ENDIF
.ENDIF
.ENDIF
More information about the Libreoffice-commits
mailing list