[Libreoffice-commits] core.git: sd/source
Stephan Bergmann
sbergman at redhat.com
Thu May 12 11:56:21 UTC 2016
sd/source/ui/controller/slidelayoutcontroller.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 29093124c04e8a3745064c0ae7e43c2bb7e34113
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu May 12 13:55:51 2016 +0200
Massage code to avoid warnings
Change-Id: Ibd4cb3a7d81544f941e2849f5dcba2fe7b961cfb
diff --git a/sd/source/ui/controller/slidelayoutcontroller.cxx b/sd/source/ui/controller/slidelayoutcontroller.cxx
index 0d03698..29d1a82 100644
--- a/sd/source/ui/controller/slidelayoutcontroller.cxx
+++ b/sd/source/ui/controller/slidelayoutcontroller.cxx
@@ -190,10 +190,10 @@ LayoutToolbarMenu::LayoutToolbarMenu( SlideLayoutController& rController, const
sal_Int16 nColCount = 4;
switch( eMode )
{
- default: assert(false); // can't happen, will crash later otherwise
case DrawViewMode_DRAW: pInfo = &standard[0]; break;
case DrawViewMode_HANDOUT: pInfo = &handout[0]; nColCount = 2; break;
case DrawViewMode_NOTES: pInfo = ¬es[0]; nColCount = 1; break;
+ default: assert(false); // can't happen, will crash later otherwise
}
mpLayoutSet1->SetColCount( nColCount );
More information about the Libreoffice-commits
mailing list