summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-26 11:24:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-26 12:50:22 +0200
commit26d24bcb0c27b96575719b33eca3217169198881 (patch)
tree0e47afab509d6e1e46a9d2b57ebd4b2aece89c24 /reportdesign
parentc3243dfbe0c11f57825c0aa7cf1c760f6b98d141 (diff)
Upcoming improved loplugin:elidestringvar: reportdesign
Change-Id: I252db93acdf471062fe2a66bc49c732e2e7c5415 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97201 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/filter/xml/xmlExport.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx
index fa04c4baa46c..0151bad80865 100644
--- a/reportdesign/source/filter/xml/xmlExport.cxx
+++ b/reportdesign/source/filter/xml/xmlExport.cxx
@@ -278,9 +278,8 @@ ORptExport::ORptExport(const Reference< XComponentContext >& _rxContext, OUStrin
m_xParaPropMapper = new OSpecialHandleXMLExportPropertyMapper( xPropMapper);
const OUString& sFamily( GetXMLToken(XML_PARAGRAPH) );
- OUString aPrefix( 'P');
GetAutoStylePool()->AddFamily( XmlStyleFamily::TEXT_PARAGRAPH, sFamily,
- m_xParaPropMapper, aPrefix );
+ m_xParaPropMapper, "P" );
GetAutoStylePool()->AddFamily(XmlStyleFamily::TABLE_CELL, XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME,
m_xCellStylesExportPropertySetMapper, XML_STYLE_FAMILY_TABLE_CELL_STYLES_PREFIX);