diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-19 16:39:09 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-23 11:04:42 +0200 |
commit | bd6fb0cd3eee3c7d414e55a7678c0097aadc7646 (patch) | |
tree | 5f754d7e485ab31dd4e04782b8eccd50d854d91e /xmloff/source/draw/sdxmlexp.cxx | |
parent | 3501c52176d1122d9de08462435f633cd21de370 (diff) |
Extended loplugin:ostr: Rewrite some O[U]StringLiteral -> O[U]String
...in include files. This is a mix of automatic rewriting in include files and
manual fixups (mostly addressing loplugin:redundantfcast) in source files that
include those.
Change-Id: I1f3cc1e67b9cabd2e9d61a4d9e9a01e587ea35cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158337
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmloff/source/draw/sdxmlexp.cxx')
-rw-r--r-- | xmloff/source/draw/sdxmlexp.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx index dd0c77ec8efc..289f1a542ec7 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -419,19 +419,19 @@ void SAL_CALL SdXMLExport::setSourceDocument( const Reference< lang::XComponent // add family name GetAutoStylePool()->AddFamily( XmlStyleFamily::SD_GRAPHICS_ID, - OUString(XML_STYLE_FAMILY_SD_GRAPHICS_NAME), + XML_STYLE_FAMILY_SD_GRAPHICS_NAME, GetPropertySetMapper(), - OUString(XML_STYLE_FAMILY_SD_GRAPHICS_PREFIX)); + XML_STYLE_FAMILY_SD_GRAPHICS_PREFIX); GetAutoStylePool()->AddFamily( XmlStyleFamily::SD_PRESENTATION_ID, - OUString(XML_STYLE_FAMILY_SD_PRESENTATION_NAME), + XML_STYLE_FAMILY_SD_PRESENTATION_NAME, GetPropertySetMapper(), - OUString(XML_STYLE_FAMILY_SD_PRESENTATION_PREFIX)); + XML_STYLE_FAMILY_SD_PRESENTATION_PREFIX); GetAutoStylePool()->AddFamily( XmlStyleFamily::SD_DRAWINGPAGE_ID, - OUString(XML_STYLE_FAMILY_SD_DRAWINGPAGE_NAME), + XML_STYLE_FAMILY_SD_DRAWINGPAGE_NAME, GetPresPagePropsMapper(), - OUString(XML_STYLE_FAMILY_SD_DRAWINGPAGE_PREFIX)); + XML_STYLE_FAMILY_SD_DRAWINGPAGE_PREFIX); // prepare access to styles Reference< style::XStyleFamiliesSupplier > xFamSup( GetModel(), UNO_QUERY ); if(xFamSup.is()) @@ -1598,7 +1598,7 @@ void SdXMLExport::ImpWritePresentationStyles() OUString aPrefix( xNamed->getName() + "-" ); aStEx->exportStyleFamily(xNamed->getName(), - OUString(XML_STYLE_FAMILY_SD_PRESENTATION_NAME), + XML_STYLE_FAMILY_SD_PRESENTATION_NAME, aMapperRef, false, XmlStyleFamily::SD_PRESENTATION_ID, &aPrefix); } |