summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2016-12-27 13:49:57 +0300
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-01-03 05:19:20 +0000
commitbd97bca534b61ef302c606ae7452454d5e87910e (patch)
tree72606ab989f5ffc27869ff5f1e480b549eed6676
parent19eb2bfa2d56fbe97fe187b3320cf884d848119c (diff)
tdf#43157 Cleanup OSL_ASSERT in scenwnd.cxx
Change-Id: If2bd3c96c6d6344d70ceb4d9c3d23d91c116893a Reviewed-on: https://gerrit.libreoffice.org/32447 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--sc/source/ui/navipi/scenwnd.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/navipi/scenwnd.cxx b/sc/source/ui/navipi/scenwnd.cxx
index 6255cb2e6806..e3b6f46de92d 100644
--- a/sc/source/ui/navipi/scenwnd.cxx
+++ b/sc/source/ui/navipi/scenwnd.cxx
@@ -67,7 +67,7 @@ void ScScenarioListBox::UpdateEntries( const std::vector<OUString> &aNewEntryLis
default:
{
// sheet contains scenarios
- OSL_ENSURE( aNewEntryList.size() % 3 == 0, "ScScenarioListBox::UpdateEntries - wrong list size" );
+ assert(aNewEntryList.size() % 3 == 0 && "ScScenarioListBox::UpdateEntries - wrong list size");
SetUpdateMode( false );
std::vector<OUString>::const_iterator iter;