summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-03-14 15:46:16 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-03-14 15:46:16 +0100
commit293ae23e7e69ed8fdff9a793cfbc111317b433a1 (patch)
tree1214f29fc610fc1c840e732b86fb6ebcda80aa70
parentc0e0f396a642e412343f7fe0e49f4dea6e9dec2a (diff)
debuglevels: removed conflicting fix for a leaking WorkWindow - both changes together cause a crash
-rw-r--r--sd/source/ui/framework/factories/BasicViewFactory.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/sd/source/ui/framework/factories/BasicViewFactory.cxx b/sd/source/ui/framework/factories/BasicViewFactory.cxx
index 8c2130c3005f..95c2833a2d12 100644
--- a/sd/source/ui/framework/factories/BasicViewFactory.cxx
+++ b/sd/source/ui/framework/factories/BasicViewFactory.cxx
@@ -50,7 +50,6 @@
#include <sfx2/viewfrm.hxx>
#include <vcl/wrkwin.hxx>
#include <toolkit/helper/vclunohelper.hxx>
-#include <tools/diagnose_ex.h>
#include <boost/bind.hpp>
@@ -154,20 +153,6 @@ BasicViewFactory::BasicViewFactory (
BasicViewFactory::~BasicViewFactory (void)
{
- mpViewCache.reset();
-
- Reference< awt::XWindow > xLocalPaneWindow( mxLocalPane->getWindow() );
- try
- {
- const Reference< XComponent > xLocalPaneComponent( mxLocalPane, UNO_QUERY_THROW );
- xLocalPaneComponent->dispose();
- const Reference< XComponent > xWindowComponent( xLocalPaneWindow, UNO_QUERY_THROW );
- xWindowComponent->dispose();
- }
- catch( const Exception& )
- {
- DBG_UNHANDLED_EXCEPTION();
- }
}