diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-09-12 14:52:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-12 15:35:23 +0200 |
commit | 35612c995d53d74e8b9ba44bc6e940cbb4dd0f60 (patch) | |
tree | c5cd9fab675adf34aadc4f44303d20f7a77e9b4c /xmloff/source | |
parent | b881aba777de30bb6b4f365f4d7b86040882441d (diff) |
tdf#133502 annotation has wrong position
regression from
commit 20c5a2abb61c4246c6001b7b6d5bd69cd5882cfd
use FastParser in DrawAnnotationContext
Change-Id: Ifc4a8d6390d37edfb375f37d513418b77f38d842
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102515
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/draw/ximppage.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx index 0fc1eb3a473e..bc8ff9029d8b 100644 --- a/xmloff/source/draw/ximppage.cxx +++ b/xmloff/source/draw/ximppage.cxx @@ -99,6 +99,7 @@ DrawAnnotationContext::DrawAnnotationContext( SvXMLImport& rImport, const Refere switch( aIter.getToken() ) { case XML_ELEMENT(SVG, XML_X): + case XML_ELEMENT(SVG_COMPAT, XML_X): { sal_Int32 x; GetImport().GetMM100UnitConverter().convertMeasureToCore( @@ -107,6 +108,7 @@ DrawAnnotationContext::DrawAnnotationContext( SvXMLImport& rImport, const Refere break; } case XML_ELEMENT(SVG, XML_Y): + case XML_ELEMENT(SVG_COMPAT, XML_Y): { sal_Int32 y; GetImport().GetMM100UnitConverter().convertMeasureToCore( @@ -115,6 +117,7 @@ DrawAnnotationContext::DrawAnnotationContext( SvXMLImport& rImport, const Refere break; } case XML_ELEMENT(SVG, XML_WIDTH): + case XML_ELEMENT(SVG_COMPAT, XML_WIDTH): { sal_Int32 w; GetImport().GetMM100UnitConverter().convertMeasureToCore( @@ -123,6 +126,7 @@ DrawAnnotationContext::DrawAnnotationContext( SvXMLImport& rImport, const Refere break; } case XML_ELEMENT(SVG, XML_HEIGHT): + case XML_ELEMENT(SVG_COMPAT, XML_HEIGHT): { sal_Int32 h; GetImport().GetMM100UnitConverter().convertMeasureToCore( |