[Libreoffice-commits] core.git: reportdesign/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 26 10:50:59 UTC 2020


 reportdesign/source/filter/xml/xmlExport.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 26d24bcb0c27b96575719b33eca3217169198881
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Jun 26 11:24:11 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Jun 26 12:50:22 2020 +0200

    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 at redhat.com>

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);


More information about the Libreoffice-commits mailing list