Kaydet (Commit) 0451325a authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: enumeration value not handled in switch

So just switch on the integer value instead. Whether the missing enumerations
can occur here and whether not handling them causes a bug or not, I don't
know.

Change-Id: Ib96b855739e8a1e92f72a88c3f6f106d86989d23
üst b125dd74
...@@ -878,7 +878,7 @@ void ParagraphObj::ImplGetNumberingLevel( PPTExBulletProvider& rBuProv, sal_Int1 ...@@ -878,7 +878,7 @@ void ParagraphObj::ImplGetNumberingLevel( PPTExBulletProvider& rBuProv, sal_Int1
PortionObj* pPortion = front(); PortionObj* pPortion = front();
CalculateGraphicBulletSize( ( pPortion ) ? pPortion->mnCharHeight : 24 ); CalculateGraphicBulletSize( ( pPortion ) ? pPortion->mnCharHeight : 24 );
switch( (SvxExtNumType)nNumberingType ) switch( nNumberingType )
{ {
case SVX_NUM_NUMBER_NONE : nParaFlags |= 0xf; break; case SVX_NUM_NUMBER_NONE : nParaFlags |= 0xf; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment