summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2017-10-26 14:41:38 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-10-28 04:07:01 +0200
commit7cebfbeabb24f908fb586ef5fa47f103042d769c (patch)
tree56386bdbf7705222a726bcf0bd0276ca172e52f0 /xmloff
parentbdb9cc1702d4e125db8c379f3b535bbd9f845b95 (diff)
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@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtimp.cxx2
-rw-r--r--xmloff/source/text/txtparae.cxx2
2 files changed, 2 insertions, 2 deletions
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() );
}