summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-13 08:05:39 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-13 08:05:43 +0200
commit0451325ae7456da5812564428d73b0226606450f (patch)
tree63eae27085524295235c2b1e3af9f28069af683f /sd
parentb125dd74a238242d2c2414f5d3d6c32bedf3cff9 (diff)
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
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/pptx-text.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx
index 4e6ca95546cf..534a31b71c91 100644
--- a/sd/source/filter/eppt/pptx-text.cxx
+++ b/sd/source/filter/eppt/pptx-text.cxx
@@ -878,7 +878,7 @@ void ParagraphObj::ImplGetNumberingLevel( PPTExBulletProvider& rBuProv, sal_Int1
PortionObj* pPortion = front();
CalculateGraphicBulletSize( ( pPortion ) ? pPortion->mnCharHeight : 24 );
- switch( (SvxExtNumType)nNumberingType )
+ switch( nNumberingType )
{
case SVX_NUM_NUMBER_NONE : nParaFlags |= 0xf; break;