[Libreoffice-commits] core.git: xmloff/source
Regina Henschel
rb.henschel at t-online.de
Sat Oct 28 02:07:24 UTC 2017
xmloff/source/text/txtimp.cxx | 2 +-
xmloff/source/text/txtparae.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 7cebfbeabb24f908fb586ef5fa47f103042d769c
Author: Regina Henschel <rb.henschel at t-online.de>
Date: Thu Oct 26 14:41:38 2017 +0200
tdf#113367 Change namespace from svg to draw for attr transform
The new feature of rotating images in Writer first time triggers the
export of the attribute transform. So now it becomes visible, that
it has the wrong namespace, see ODF 19.228 part 1.
Change-Id: I00d5e6a12bd564e814679e8be862c7d08baae956
Reviewed-on: https://gerrit.libreoffice.org/43890
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 54016575a620..87586098ec17 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -364,7 +364,7 @@ static const SvXMLTokenMapEntry aTextFrameAttrTokenMap[] =
{ XML_NAMESPACE_XLINK, XML_HREF, XML_TOK_TEXT_FRAME_HREF },
{ XML_NAMESPACE_DRAW, XML_NAME, XML_TOK_TEXT_FRAME_FILTER_NAME },
{ XML_NAMESPACE_DRAW, XML_ZINDEX, XML_TOK_TEXT_FRAME_Z_INDEX },
- { XML_NAMESPACE_SVG, XML_TRANSFORM, XML_TOK_TEXT_FRAME_TRANSFORM },
+ { XML_NAMESPACE_DRAW, XML_TRANSFORM, XML_TOK_TEXT_FRAME_TRANSFORM },
{ XML_NAMESPACE_DRAW, XML_CLASS_ID, XML_TOK_TEXT_FRAME_CLASS_ID },
{ XML_NAMESPACE_DRAW, XML_CODE, XML_TOK_TEXT_FRAME_CODE },
{ XML_NAMESPACE_DRAW, XML_OBJECT, XML_TOK_TEXT_FRAME_OBJECT },
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 53548573be0a..65d072b240b8 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -3060,7 +3060,7 @@ void XMLTextParagraphExport::_exportTextGraphic(
sRet.append( '(' );
sRet.append( (sal_Int32)nVal );
sRet.append( ')' );
- GetExport().AddAttribute( XML_NAMESPACE_SVG, XML_TRANSFORM,
+ GetExport().AddAttribute( XML_NAMESPACE_DRAW, XML_TRANSFORM,
sRet.makeStringAndClear() );
}
More information about the Libreoffice-commits
mailing list