summaryrefslogtreecommitdiff
path: root/vcl/source/helper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-10 18:24:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-10 18:24:23 +0100
commit55b68ad017d61f2fd4a3408632007880aabd05fe (patch)
tree904169ac3e8b6c064440b7e0f710db7a3f689543 /vcl/source/helper
parent4de09a9efdb62cf90ce18662852e556cf7148e14 (diff)
Instantiate ImplSVData on demand
Change-Id: I661949a8635a2ed1a1efda77ced48a0fa9f6722e
Diffstat (limited to 'vcl/source/helper')
-rw-r--r--vcl/source/helper/lazydelete.cxx5
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 )