diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-10-03 08:19:29 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-10-03 08:20:23 +0200 |
commit | 2a28668260960c25421eceeeb0d1571b5f47db4b (patch) | |
tree | 986afe262bba5b7f0d31eb22f74ed01a9f207abb | |
parent | 0ad5604c91cdd593739b4af5dd3168d9b23b016b (diff) |
fdo#84617: Guard the destructor with SolarMutex.
The same pattern as introduced elsewhere recently.
Change-Id: Ie7b4fd1ec26d417f63bee26dd336dfc54f4847dc
-rw-r--r-- | sd/source/ui/app/sdxfer.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/app/sdxfer.cxx b/sd/source/ui/app/sdxfer.cxx index a3fe2f13de47..3d89c61be836 100644 --- a/sd/source/ui/app/sdxfer.cxx +++ b/sd/source/ui/app/sdxfer.cxx @@ -110,6 +110,8 @@ SdTransferable::SdTransferable( SdDrawDocument* pSrcDoc, ::sd::View* pWorkView, SdTransferable::~SdTransferable() { + SolarMutexGuard g; + if( mpSourceDoc ) EndListening( *mpSourceDoc ); |