summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-09-19 16:00:20 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-09-19 16:05:20 +0200
commit891746ed955b110960113ba0de3a51335af50d66 (patch)
treedaabc26512f9668ee9514bf123c174d17d0557b7
parent6cf41d047a65c40d34745f497482f88d5ec93acb (diff)
vml import: WaE (unused variable, unhandled enum value)
Change-Id: Ic59b4a68499bb68619cf72fdc17f5a77186274ae
-rw-r--r--oox/source/vml/vmlformatting.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/oox/source/vml/vmlformatting.cxx b/oox/source/vml/vmlformatting.cxx
index 0d56bc373e29..7051c3abbda3 100644
--- a/oox/source/vml/vmlformatting.cxx
+++ b/oox/source/vml/vmlformatting.cxx
@@ -291,9 +291,7 @@ bool lclExtractDouble( double& orfValue, sal_Int32& ornEndPos, const OUString& r
// Store coordinate from current token
if ( state != START )
{
- bool isX = aCoordList.size() % 2 == 0;
if ( nTokenLen > 0 )
- //aCoordList.push_back(decodeMeasureToHmm( rGraphicHelper, rPath.copy(nTokenStart, nTokenLen), 0, isX, true ));
aCoordList.push_back( rPath.copy( nTokenStart, nTokenLen ).toInt32() );
else
aCoordList.push_back( 0 );
@@ -364,6 +362,9 @@ bool lclExtractDouble( double& orfValue, sal_Int32& ornEndPos, const OUString& r
rPointLists.push_back( ::std::vector< Point >() );
rFlagLists.push_back( ::std::vector< PolygonFlags >() );
break;
+
+ case START:
+ break;
}
aCoordList.clear();