diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2009-11-16 17:25:15 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2009-11-16 17:25:15 +0000 |
commit | 5c50a949dfc9d61c4f2c29b2353539dcd6ae91a1 (patch) | |
tree | 9568e3d9c866836f0e66113af516b23f30af44d5 /vcl/source/helper | |
parent | 27f85382fe716fb860f68bbfdb622e3525e0252f (diff) | |
parent | 9b9d44ee50a38180c2451ca527bf7b9f6f46f0fe (diff) |
controltextrendering: merge changes from DEV300_m61
Diffstat (limited to 'vcl/source/helper')
-rw-r--r-- | vcl/source/helper/lazydelete.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/helper/lazydelete.cxx b/vcl/source/helper/lazydelete.cxx index f5a8d8fbb14e..a300aedf8175 100644 --- a/vcl/source/helper/lazydelete.cxx +++ b/vcl/source/helper/lazydelete.cxx @@ -84,6 +84,9 @@ template<> bool LazyDeletor<Menu>::is_less( Menu* left, Menu* right ) DeleteOnDeinitBase::~DeleteOnDeinitBase() { + ImplSVData* pSVData = ImplGetSVData(); + if( pSVData && pSVData->mpDeinitDeleteList != NULL ) + pSVData->mpDeinitDeleteList->remove( this ); } void DeleteOnDeinitBase::addDeinitContainer( DeleteOnDeinitBase* i_pContainer ) |