From 97eb00c75e173d4c8d0b483a7941ad3d2f23783e Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sun, 7 May 2017 17:03:35 +1000 Subject: revert OSL_ASSERT changes Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380 --- sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx') diff --git a/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx b/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx index 3e59d9e4aa14..0512139aaf90 100644 --- a/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx +++ b/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx @@ -90,7 +90,7 @@ void CurrentMasterPagesSelector::dispose() } else { - assert(mrDocument.GetDocSh() != nullptr); + OSL_ASSERT(mrDocument.GetDocSh() != nullptr); } Link aLink (LINK(this,CurrentMasterPagesSelector,EventMultiplexerListener)); @@ -109,7 +109,7 @@ void CurrentMasterPagesSelector::LateInit() } else { - assert(mrDocument.GetDocSh() != nullptr); + OSL_ASSERT(mrDocument.GetDocSh() != nullptr); } } -- cgit