diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-19 13:13:47 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 12:11:41 +0100 |
commit | 3a091f8ca2f20d44c32ef954e23f664256686997 (patch) | |
tree | 53d9aab7e2b3c09776549cdf544fd9c12c9c1de1 /canvas/source/vcl/spritecanvashelper.cxx | |
parent | b5f08b336af03b78035d24114e78b7fdb98b8dce (diff) |
Unwind VCLObject bits for OutputDevice derivatives.
Change-Id: I1abdf0a6d43029fb29e5cbc6c3f788aa98f55a1f
Diffstat (limited to 'canvas/source/vcl/spritecanvashelper.cxx')
-rw-r--r-- | canvas/source/vcl/spritecanvashelper.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/canvas/source/vcl/spritecanvashelper.cxx b/canvas/source/vcl/spritecanvashelper.cxx index 682950534135..8855dd567b71 100644 --- a/canvas/source/vcl/spritecanvashelper.cxx +++ b/canvas/source/vcl/spritecanvashelper.cxx @@ -189,6 +189,12 @@ namespace vclcanvas #endif } + SpriteCanvasHelper::~SpriteCanvasHelper() + { + SolarMutexGuard aGuard; + maVDev.disposeAndClear(); + } + void SpriteCanvasHelper::init( const OutDevProviderSharedPtr& rOutDev, SpriteCanvas& rOwningSpriteCanvas, ::canvas::SpriteRedrawManager& rManager, |