diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2011-10-28 15:54:22 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2011-10-28 15:58:44 +0200 |
commit | f7d9e0526ce69e2fa9801a04137737046784cbe2 (patch) | |
tree | 889d4738aaf335595ed6445a0dd32bb8e12a4ea0 /xmloff/source/table/XMLTableExport.cxx | |
parent | e1ef3ad57dfa59c3c97e811f76351f7982f77020 (diff) |
ODF conformance - Impress table markup fixes
Fix for fdo#35190 - Impress writes invalid ODF for the table
styles (text:style-name instead of table:style-name).
Diffstat (limited to 'xmloff/source/table/XMLTableExport.cxx')
-rw-r--r-- | xmloff/source/table/XMLTableExport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/table/XMLTableExport.cxx b/xmloff/source/table/XMLTableExport.cxx index a637fd263fb8..6405528b2600 100644 --- a/xmloff/source/table/XMLTableExport.cxx +++ b/xmloff/source/table/XMLTableExport.cxx @@ -564,7 +564,7 @@ void XMLTableExport::exportTableTemplates() Reference< XStyle > xStyle( xStyleNames->getByName( pElements->msStyleName ), UNO_QUERY ); if( xStyle.is() ) { - mrExport.AddAttribute(XML_NAMESPACE_TEXT, XML_STYLE_NAME, GetExport().EncodeStyleName( xStyle->getName() ) ); + mrExport.AddAttribute(XML_NAMESPACE_TABLE, XML_STYLE_NAME, GetExport().EncodeStyleName( xStyle->getName() ) ); SvXMLElementExport element( mrExport, XML_NAMESPACE_TABLE, pElements->meElement, sal_True, sal_True ); } } |