sc/source/ui/navipi/scenwnd.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit bd97bca534b61ef302c606ae7452454d5e87910e Author: Muhammet Kara <[email protected]> Date: Tue Dec 27 13:49:57 2016 +0300 tdf#43157 Cleanup OSL_ASSERT in scenwnd.cxx Change-Id: If2bd3c96c6d6344d70ceb4d9c3d23d91c116893a Reviewed-on: https://gerrit.libreoffice.org/32447 Tested-by: Jenkins <[email protected]> Reviewed-by: Markus Mohrhard <[email protected]> diff --git a/sc/source/ui/navipi/scenwnd.cxx b/sc/source/ui/navipi/scenwnd.cxx index 6255cb2..e3b6f46 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; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
