summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2002-12-05 09:51:57 +0000
committerMalte Timmermann <mt@openoffice.org>2002-12-05 09:51:57 +0000
commitae86de43bff281b46f7e80d29582cf3c7e365e71 (patch)
tree4f07feb8e70974ddde8168930e707c27c7388016
parent7332b5886d478764d3bad5304a23e3288d2d4b01 (diff)
dispose service manager for MLK detection
-rw-r--r--vcl/workben/svdem.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/vcl/workben/svdem.cxx b/vcl/workben/svdem.cxx
index 2c5c74b00994..f5d2a60780fa 100644
--- a/vcl/workben/svdem.cxx
+++ b/vcl/workben/svdem.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svdem.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: hr $ $Date: 2001-12-13 18:08:40 $
+ * last change: $Author: mt $ $Date: 2002-12-05 10:51:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -61,6 +61,7 @@
#include <sal/main.h>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
+#include <com/sun/star/lang/XComponent.hpp>
#include <event.hxx>
#include <svapp.hxx>
@@ -116,6 +117,11 @@ SAL_IMPLEMENT_MAIN()
}
#endif
+ ::comphelper::setProcessServiceFactory( NULL );
+ Reference< XComponent > xC( xMS, UNO_QUERY );
+ xMS.clear();
+ xC->dispose();
+ xC.clear();
return 0;
}