summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-05-13 23:46:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-05-13 23:46:08 +0200
commit8a1fbd41ef0c7c066e88f7f449275a89f61d2bf5 (patch)
tree33a5d00f579c6f3924e4db8de73da29aa5ac8a01 /vcl
parent1e8482db2d8b0b19fac88673384c227047a862b1 (diff)
Remove redundant OSL_ENSURE
Change-Id: Icb3c4a4afe80e50d6f39e9a8092eab71afed2e2d
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/dbggui.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx
index 118018024aaa..ec295aa69256 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());
}
// =======================================================================