diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-03-14 23:01:23 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-03-14 23:01:23 +0100 |
commit | e550fb754b98568cd6df498c5017050101ab7718 (patch) | |
tree | f203cfcbd33741ca7387c9fb2bc8ffc046374341 /sd | |
parent | 3f554df00ffd78a070ce642694c4b55e3df78133 (diff) |
dba34c: removed conflicting fix for a leaking WorkWindow - both changes together cause a crash
Diffstat (limited to 'sd')
-rwxr-xr-x | sd/source/ui/framework/factories/BasicViewFactory.cxx | 15 |
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 ebb55ec3bd57..902c6f48a9a7 100755 --- 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> @@ -153,20 +152,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(); - } } |