[Libreoffice-commits] .: oox/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Sep 19 07:03:47 PDT 2012


 oox/source/vml/vmlformatting.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 891746ed955b110960113ba0de3a51335af50d66
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Wed Sep 19 16:00:20 2012 +0200

    vml import: WaE (unused variable, unhandled enum value)
    
    Change-Id: Ic59b4a68499bb68619cf72fdc17f5a77186274ae

diff --git a/oox/source/vml/vmlformatting.cxx b/oox/source/vml/vmlformatting.cxx
index 0d56bc3..7051c3a 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();


More information about the Libreoffice-commits mailing list