summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/workben')
-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;
}