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

Stephan Bergmann sbergman at redhat.com
Mon May 13 14:46:42 PDT 2013


 vcl/source/app/dbggui.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 8a1fbd41ef0c7c066e88f7f449275a89f61d2bf5
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon May 13 23:46:08 2013 +0200

    Remove redundant OSL_ENSURE
    
    Change-Id: Icb3c4a4afe80e50d6f39e9a8092eab71afed2e2d

diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx
index 1180180..ec295aa 100644
--- a/vcl/source/app/dbggui.cxx
+++ b/vcl/source/app/dbggui.cxx
@@ -1744,10 +1744,7 @@ void DbgAbort( char const * i_message )
 
 void ImplDbgTestSolarMutex()
 {
-    bool bCheck = ImplGetSVData()->mpDefInst->CheckYieldMutex();
-    (void)bCheck;
-    OSL_ENSURE( bCheck, "SolarMutex not locked" );
-    assert(bCheck);
+    assert(ImplGetSVData()->mpDefInst->CheckYieldMutex());
 }
 
 // =======================================================================


More information about the Libreoffice-commits mailing list