[Libreoffice-commits] core.git: svx/source

Noel Power noel.power at suse.com
Thu Mar 14 07:18:39 PDT 2013


 svx/source/svdraw/svdobj.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 31305fe1288146bc17735f00dd16daf131afd475
Author: Noel Power <noel.power at suse.com>
Date:   Thu Mar 14 14:17:11 2013 +0000

    move xShape def outside debug ifdef to fix build failure
    
    Change-Id: Ibfc75eade6982bd5375beea2ea2e282bd27d91ed

diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 1e52b4f..d12d56b 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -2969,8 +2969,8 @@ SvxShape* SdrObject::getSvxShape()
         // retrieving the impl pointer and subsequently using it is not thread-safe, of course, so it needs to be
         // guarded by the SolarMutex
 
-#if OSL_DEBUG_LEVEL > 0
     uno::Reference< uno::XInterface > xShape( maWeakUnoShape );
+#if OSL_DEBUG_LEVEL > 0
     OSL_ENSURE( !( !xShape.is() && mpSvxShape ),
         "SdrObject::getSvxShape: still having IMPL-Pointer to dead object!" );
 #endif


More information about the Libreoffice-commits mailing list