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

Xisco Fauli anistenis at gmail.com
Thu Nov 5 01:50:27 PST 2015


 filter/source/svg/parserfragments.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2fe02d55d72a808dd79ba9529bc5078a45175c16
Author: Xisco Fauli <anistenis at gmail.com>
Date:   Sat Oct 24 15:28:37 2015 +0200

    tdf#94098: SVG: improved parsing of rotate's parameters
    
    2nd and 3rd one can be separated by commas or spaces
    
    Change-Id: Ie266956ddad0f23a8bf13f1292105bbe6ec60895
    Reviewed-on: https://gerrit.libreoffice.org/19573
    Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>
    Tested-by: Katarina Behrens <Katarina.Behrens at cib.de>

diff --git a/filter/source/svg/parserfragments.cxx b/filter/source/svg/parserfragments.cxx
index 953c033..1d9cc85 100644
--- a/filter/source/svg/parserfragments.cxx
+++ b/filter/source/svg/parserfragments.cxx
@@ -446,7 +446,7 @@ bool parseTransform( const char* sTransform, basegfx::B2DHomMatrix& rTransform )
                   >> '('
                   >> real_p[assign_a(fRotationAngle)]
                   >> !((',' | eps_p) >> real_p[assign_a(aCurrTransform.m02)]
-                       >> real_p[assign_a(aCurrTransform.m12)])
+                       >> (',' | eps_p) >>  real_p[assign_a(aCurrTransform.m12)])
                   >> ')')[boost::bind(&calcRotation,
                                       boost::ref(aTransforms),
                                       boost::ref(aCurrTransform),


More information about the Libreoffice-commits mailing list