[Libreoffice-commits] core.git: svgio/source

Julien Nabet serval2412 at yahoo.fr
Mon Mar 25 14:00:53 PDT 2013


 svgio/source/svgreader/svgtools.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 79c0bd64be68161ea16f132a015f7143e09f3eaf
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Mar 25 21:58:05 2013 +0100

    coverity#704311 Logically dead code
    
    Change-Id: I1739d96748a4ed2259885843f383ec7ff2914b66

diff --git a/svgio/source/svgreader/svgtools.cxx b/svgio/source/svgreader/svgtools.cxx
index 899fed8..892221c 100644
--- a/svgio/source/svgreader/svgtools.cxx
+++ b/svgio/source/svgreader/svgtools.cxx
@@ -545,6 +545,7 @@ namespace svgio
                             {
                                 // angle in grad
                                 nPos += aStrGrad.getLength();
+                                aType = grad;
                             }
                             break;
                         }
@@ -555,6 +556,7 @@ namespace svgio
                             {
                                 // angle in radians
                                 nPos += aStrRad.getLength();
+                                aType = rad;
                             }
                             break;
                         }


More information about the Libreoffice-commits mailing list