summaryrefslogtreecommitdiff
path: root/vcl/source/app
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-19 13:56:13 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 12:11:57 +0100
commit7a2e0a335593bcd04caf5ba3fd7a9b0e2d933567 (patch)
treeb2a56237672b72fb10f8d3e95d0bf33538541a7d /vcl/source/app
parent2177201e655767f6f15e9b44aedf7a4f99d2994a (diff)
ImplSVGDIData didn't dispose its contents previously; clobber it for now.
Change-Id: I71c877773cbdabe10f617d1d3d7141ebd6d93923
Diffstat (limited to 'vcl/source/app')
-rw-r--r--vcl/source/app/svdata.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx
index 887d082ae8c9..bd33350e7a10 100644
--- a/vcl/source/app/svdata.cxx
+++ b/vcl/source/app/svdata.cxx
@@ -88,6 +88,14 @@ ImplSVData::ImplSVData()
maNWFData.maMenuBarHighlightTextColor = Color( COL_TRANSPARENT );
}
+ImplSVGDIData::~ImplSVGDIData()
+{
+ // FIXME: deliberately leak any remaining OutputDevice
+ // until we have their pGraphics reference counted, doing
+ // any disposes so late in shutdown is rather unsafe.
+ memset( this, 0, sizeof( ImplSVGDIData ) );
+}
+
void ImplDeInitSVData()
{
ImplSVData* pSVData = ImplGetSVData();