diff options
Diffstat (limited to 'xmloff/source/draw')
-rw-r--r-- | xmloff/source/draw/XMLImageMapContext.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/draw/XMLImageMapExport.cxx | 22 | ||||
-rw-r--r-- | xmloff/source/draw/sdxmlexp.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 40 |
4 files changed, 33 insertions, 33 deletions
diff --git a/xmloff/source/draw/XMLImageMapContext.cxx b/xmloff/source/draw/XMLImageMapContext.cxx index d822f363400e..99949c2d5caf 100644 --- a/xmloff/source/draw/XMLImageMapContext.cxx +++ b/xmloff/source/draw/XMLImageMapContext.cxx @@ -554,7 +554,7 @@ void XMLImageMapCircleContext::Prepare( } -const OUStringLiteral gsImageMap(u"ImageMap"); +constexpr OUStringLiteral gsImageMap(u"ImageMap"); XMLImageMapContext::XMLImageMapContext( SvXMLImport& rImport, diff --git a/xmloff/source/draw/XMLImageMapExport.cxx b/xmloff/source/draw/XMLImageMapExport.cxx index 25117838ac88..746d975b737a 100644 --- a/xmloff/source/draw/XMLImageMapExport.cxx +++ b/xmloff/source/draw/XMLImageMapExport.cxx @@ -53,17 +53,17 @@ using ::com::sun::star::document::XEventsSupplier; using ::com::sun::star::lang::XServiceInfo; using ::com::sun::star::drawing::PointSequence; -const OUStringLiteral gsBoundary(u"Boundary"); -const OUStringLiteral gsCenter(u"Center"); -const OUStringLiteral gsDescription(u"Description"); -const OUStringLiteral gsImageMap(u"ImageMap"); -const OUStringLiteral gsIsActive(u"IsActive"); -const OUStringLiteral gsName(u"Name"); -const OUStringLiteral gsPolygon(u"Polygon"); -const OUStringLiteral gsRadius(u"Radius"); -const OUStringLiteral gsTarget(u"Target"); -const OUStringLiteral gsURL(u"URL"); -const OUStringLiteral gsTitle(u"Title"); +constexpr OUStringLiteral gsBoundary(u"Boundary"); +constexpr OUStringLiteral gsCenter(u"Center"); +constexpr OUStringLiteral gsDescription(u"Description"); +constexpr OUStringLiteral gsImageMap(u"ImageMap"); +constexpr OUStringLiteral gsIsActive(u"IsActive"); +constexpr OUStringLiteral gsName(u"Name"); +constexpr OUStringLiteral gsPolygon(u"Polygon"); +constexpr OUStringLiteral gsRadius(u"Radius"); +constexpr OUStringLiteral gsTarget(u"Target"); +constexpr OUStringLiteral gsURL(u"URL"); +constexpr OUStringLiteral gsTitle(u"Title"); XMLImageMapExport::XMLImageMapExport(SvXMLExport& rExp) : mrExport(rExp) diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx index 708dfb3fa085..b67829c58eac 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -368,7 +368,7 @@ ImpXMLAutoLayoutInfo::ImpXMLAutoLayoutInfo(sal_uInt16 nTyp, ImpXMLEXPPageMasterI maPresRect.SetSize(aLayoutSize); } -const OUStringLiteral gsPageLayoutNames( u"PageLayoutNames" ); +constexpr OUStringLiteral gsPageLayoutNames( u"PageLayoutNames" ); SdXMLExport::SdXMLExport( const css::uno::Reference< css::uno::XComponentContext >& xContext, diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index 6b3559200d02..58d916c7608f 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -146,26 +146,26 @@ bool supportsText(XmlShapeType eShapeType) } -const OUStringLiteral gsZIndex( u"ZOrder" ); -const OUStringLiteral gsPrintable( u"Printable" ); -const OUStringLiteral gsVisible( u"Visible" ); -const OUStringLiteral gsModel( u"Model" ); -const OUStringLiteral gsStartShape( u"StartShape" ); -const OUStringLiteral gsEndShape( u"EndShape" ); -const OUStringLiteral gsOnClick( u"OnClick" ); -const OUStringLiteral gsEventType( u"EventType" ); -const OUStringLiteral gsPresentation( u"Presentation" ); -const OUStringLiteral gsMacroName( u"MacroName" ); -const OUStringLiteral gsScript( u"Script" ); -const OUStringLiteral gsLibrary( u"Library" ); -const OUStringLiteral gsClickAction( u"ClickAction" ); -const OUStringLiteral gsBookmark( u"Bookmark" ); -const OUStringLiteral gsEffect( u"Effect" ); -const OUStringLiteral gsPlayFull( u"PlayFull" ); -const OUStringLiteral gsVerb( u"Verb" ); -const OUStringLiteral gsSoundURL( u"SoundURL" ); -const OUStringLiteral gsSpeed( u"Speed" ); -const OUStringLiteral gsStarBasic( u"StarBasic" ); +constexpr OUStringLiteral gsZIndex( u"ZOrder" ); +constexpr OUStringLiteral gsPrintable( u"Printable" ); +constexpr OUStringLiteral gsVisible( u"Visible" ); +constexpr OUStringLiteral gsModel( u"Model" ); +constexpr OUStringLiteral gsStartShape( u"StartShape" ); +constexpr OUStringLiteral gsEndShape( u"EndShape" ); +constexpr OUStringLiteral gsOnClick( u"OnClick" ); +constexpr OUStringLiteral gsEventType( u"EventType" ); +constexpr OUStringLiteral gsPresentation( u"Presentation" ); +constexpr OUStringLiteral gsMacroName( u"MacroName" ); +constexpr OUStringLiteral gsScript( u"Script" ); +constexpr OUStringLiteral gsLibrary( u"Library" ); +constexpr OUStringLiteral gsClickAction( u"ClickAction" ); +constexpr OUStringLiteral gsBookmark( u"Bookmark" ); +constexpr OUStringLiteral gsEffect( u"Effect" ); +constexpr OUStringLiteral gsPlayFull( u"PlayFull" ); +constexpr OUStringLiteral gsVerb( u"Verb" ); +constexpr OUStringLiteral gsSoundURL( u"SoundURL" ); +constexpr OUStringLiteral gsSpeed( u"Speed" ); +constexpr OUStringLiteral gsStarBasic( u"StarBasic" ); XMLShapeExport::XMLShapeExport(SvXMLExport& rExp, SvXMLExportPropertyMapper *pExtMapper ) |