coverity#1242429 Explicit null dereferenced
Change-Id: I30f65243995288008fbc41de76bd3f4e2d21b00e
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user