diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-10 18:24:23 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-10 18:24:23 +0100 |
commit | 55b68ad017d61f2fd4a3408632007880aabd05fe (patch) | |
tree | 904169ac3e8b6c064440b7e0f710db7a3f689543 /vcl/source/helper | |
parent | 4de09a9efdb62cf90ce18662852e556cf7148e14 (diff) |
Instantiate ImplSVData on demand
Change-Id: I661949a8635a2ed1a1efda77ced48a0fa9f6722e
Diffstat (limited to 'vcl/source/helper')
-rw-r--r-- | vcl/source/helper/lazydelete.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/source/helper/lazydelete.cxx b/vcl/source/helper/lazydelete.cxx index 7ce8d1a56c11..45ea7e091820 100644 --- a/vcl/source/helper/lazydelete.cxx +++ b/vcl/source/helper/lazydelete.cxx @@ -80,11 +80,6 @@ DeleteOnDeinitBase::~DeleteOnDeinitBase() void DeleteOnDeinitBase::addDeinitContainer( DeleteOnDeinitBase* i_pContainer ) { ImplSVData* pSVData = ImplGetSVData(); - if( ! pSVData ) - { - ImplInitSVData(); - pSVData = ImplGetSVData(); - } DBG_ASSERT( ! pSVData->mbDeInit, "DeleteOnDeinit added after DeiInitVCL !" ); if( pSVData->mbDeInit ) |