From 4f27ff917237be96eec897d4af90a3379be904c6 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 29 Jul 2013 18:24:23 +0300 Subject: [PATCH] Avoid SolarMutex assertion in a dbgutil build when exiting Impress Change-Id: I903d078713007920574dcdb780e1dd301ce94bf6 --- drawinglayer/source/primitive2d/textlayoutdevice.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/drawinglayer/source/primitive2d/textlayoutdevice.cxx b/drawinglayer/source/primitive2d/textlayoutdevice.cxx index abe3325d76be..409f225403b5 100644 --- a/drawinglayer/source/primitive2d/textlayoutdevice.cxx +++ b/drawinglayer/source/primitive2d/textlayoutdevice.cxx @@ -79,6 +79,7 @@ namespace ImpTimedRefDev::~ImpTimedRefDev() { OSL_ENSURE(0L == mnUseCount, "destruction of a still used ImpTimedRefDev (!)"); + const SolarMutexGuard aGuard; delete mpVirDev; }