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

New commits:
commit 26d24bcb0c27b96575719b33eca3217169198881
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Jun 26 11:24:11 2020 +0200
Commit:     Stephan Bergmann <sberg...@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 <sberg...@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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to