summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-12 13:55:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-12 13:55:51 +0200
commit29093124c04e8a3745064c0ae7e43c2bb7e34113 (patch)
tree6ce1574c655fcc88f10e984e6da0fc67c58b41bf
parente82fe5f00afe0364fbcbfea3e91e10b85faae34c (diff)
Massage code to avoid warnings
Change-Id: Ibd4cb3a7d81544f941e2849f5dcba2fe7b961cfb
-rw-r--r--sd/source/ui/controller/slidelayoutcontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/controller/slidelayoutcontroller.cxx b/sd/source/ui/controller/slidelayoutcontroller.cxx
index 0d036982c685..29d1a823cf1f 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 = &notes[0]; nColCount = 1; break;
+ default: assert(false); // can't happen, will crash later otherwise
}
mpLayoutSet1->SetColCount( nColCount );