xmloff/source/text/txtparae.cxx |   58 ++++++++++++++++++++--------------------
 1 file changed, 29 insertions(+), 29 deletions(-)

New commits:
commit dacbf940761f7b371439e94ed20c01631e69f725
Author:     Mike Kaganski <[email protected]>
AuthorDate: Sun Oct 12 18:43:55 2025 +0500
Commit:     Mike Kaganski <[email protected]>
CommitDate: Sun Oct 12 18:18:22 2025 +0200

    OUStringLiteral -> OUString
    
    Change-Id: I124ab59b49493a0ca8b052b6f7c0347fae64e765
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192252
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <[email protected]>

diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 659cd2b1df5d..331fb6aba408 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -129,18 +129,18 @@ using namespace ::xmloff::token;
 // Implement Title/Description Elements UI (#i73249#)
 constexpr OUString gsTitle(u"Title"_ustr);
 constexpr OUString gsDescription(u"Description"_ustr);
-constexpr OUStringLiteral gsAnchorPageNo(u"AnchorPageNo");
-constexpr OUStringLiteral gsAnchorType(u"AnchorType");
+constexpr OUString gsAnchorPageNo(u"AnchorPageNo"_ustr);
+constexpr OUString gsAnchorType(u"AnchorType"_ustr);
 constexpr OUString gsBookmark(u"Bookmark"_ustr);
 constexpr OUString gsChainNextName(u"ChainNextName"_ustr);
 constexpr OUString gsContourPolyPolygon(u"ContourPolyPolygon"_ustr);
-constexpr OUStringLiteral gsDocumentIndexMark(u"DocumentIndexMark");
-constexpr OUStringLiteral gsFrame(u"Frame");
-constexpr OUStringLiteral gsGraphicFilter(u"GraphicFilter");
-constexpr OUStringLiteral gsGraphicRotation(u"GraphicRotation");
+constexpr OUString gsDocumentIndexMark(u"DocumentIndexMark"_ustr);
+constexpr OUString gsFrame(u"Frame"_ustr);
+constexpr OUString gsGraphicFilter(u"GraphicFilter"_ustr);
+constexpr OUString gsGraphicRotation(u"GraphicRotation"_ustr);
 constexpr OUString gsHeight(u"Height"_ustr);
-constexpr OUStringLiteral gsHoriOrient(u"HoriOrient");
-constexpr OUStringLiteral gsHoriOrientPosition(u"HoriOrientPosition");
+constexpr OUString gsHoriOrient(u"HoriOrient"_ustr);
+constexpr OUString gsHoriOrientPosition(u"HoriOrientPosition"_ustr);
 constexpr OUString gsHyperLinkName(u"HyperLinkName"_ustr);
 constexpr OUString gsHyperLinkTarget(u"HyperLinkTarget"_ustr);
 constexpr OUString gsHyperLinkURL(u"HyperLinkURL"_ustr);
@@ -152,38 +152,38 @@ constexpr OUString 
gsIsSyncHeightToWidth(u"IsSyncHeightToWidth"_ustr);
 constexpr OUString gsIsSyncWidthToHeight(u"IsSyncWidthToHeight"_ustr);
 constexpr OUString gsNumberingRules(u"NumberingRules"_ustr);
 constexpr OUString 
gsParaConditionalStyleName(u"ParaConditionalStyleName"_ustr);
-constexpr OUStringLiteral gsParagraphService(u"com.sun.star.text.Paragraph");
-constexpr OUStringLiteral gsRedline(u"Redline");
+constexpr OUString gsParagraphService(u"com.sun.star.text.Paragraph"_ustr);
+constexpr OUString gsRedline(u"Redline"_ustr);
 constexpr OUString gsReferenceMark(u"ReferenceMark"_ustr);
 constexpr OUString gsRelativeHeight(u"RelativeHeight"_ustr);
 constexpr OUString gsRelativeWidth(u"RelativeWidth"_ustr);
-constexpr OUStringLiteral gsRuby(u"Ruby");
-constexpr OUStringLiteral gsRubyCharStyleName(u"RubyCharStyleName");
-constexpr OUStringLiteral gsRubyText(u"RubyText");
+constexpr OUString gsRuby(u"Ruby"_ustr);
+constexpr OUString gsRubyCharStyleName(u"RubyCharStyleName"_ustr);
+constexpr OUString gsRubyText(u"RubyText"_ustr);
 constexpr OUString gsServerMap(u"ServerMap"_ustr);
 constexpr OUString gsShapeService(u"com.sun.star.drawing.Shape"_ustr);
 constexpr OUString gsSizeType(u"SizeType"_ustr);
-constexpr OUStringLiteral gsSoftPageBreak( u"SoftPageBreak"  );
-constexpr OUStringLiteral gsTableService(u"com.sun.star.text.TextTable");
-constexpr OUStringLiteral gsText(u"Text");
+constexpr OUString gsSoftPageBreak(u"SoftPageBreak"_ustr);
+constexpr OUString gsTableService(u"com.sun.star.text.TextTable"_ustr);
+constexpr OUString gsText(u"Text"_ustr);
 constexpr OUString gsTextContentService(u"com.sun.star.text.TextContent"_ustr);
-constexpr OUStringLiteral 
gsTextEmbeddedService(u"com.sun.star.text.TextEmbeddedObject");
+constexpr OUString 
gsTextEmbeddedService(u"com.sun.star.text.TextEmbeddedObject"_ustr);
 constexpr OUString gsTextField(u"TextField"_ustr);
-constexpr OUStringLiteral gsTextFieldService(u"com.sun.star.text.TextField");
-constexpr OUStringLiteral gsTextFrameService(u"com.sun.star.text.TextFrame");
-constexpr OUStringLiteral 
gsTextGraphicService(u"com.sun.star.text.TextGraphicObject");
+constexpr OUString gsTextFieldService(u"com.sun.star.text.TextField"_ustr);
+constexpr OUString gsTextFrameService(u"com.sun.star.text.TextFrame"_ustr);
+constexpr OUString 
gsTextGraphicService(u"com.sun.star.text.TextGraphicObject"_ustr);
 constexpr OUString gsTextPortionType(u"TextPortionType"_ustr);
 constexpr OUString gsUnvisitedCharStyleName(u"UnvisitedCharStyleName"_ustr);
-constexpr OUStringLiteral gsVertOrient(u"VertOrient");
-constexpr OUStringLiteral gsVertOrientPosition(u"VertOrientPosition");
+constexpr OUString gsVertOrient(u"VertOrient"_ustr);
+constexpr OUString gsVertOrientPosition(u"VertOrientPosition"_ustr);
 constexpr OUString gsVisitedCharStyleName(u"VisitedCharStyleName"_ustr);
 constexpr OUString gsWidth(u"Width"_ustr);
 constexpr OUString gsWidthType( u"WidthType"_ustr  );
-constexpr OUStringLiteral gsTextFieldStart( u"TextFieldStart"  );
-constexpr OUStringLiteral gsTextFieldSep(u"TextFieldSeparator");
-constexpr OUStringLiteral gsTextFieldEnd( u"TextFieldEnd"  );
-constexpr OUStringLiteral gsTextFieldStartEnd( u"TextFieldStartEnd"  );
-constexpr OUStringLiteral gsPropertyCharStyleNames(u"CharStyleNames");
+constexpr OUString gsTextFieldStart(u"TextFieldStart"_ustr);
+constexpr OUString gsTextFieldSep(u"TextFieldSeparator"_ustr);
+constexpr OUString gsTextFieldEnd(u"TextFieldEnd"_ustr);
+constexpr OUString gsTextFieldStartEnd(u"TextFieldStartEnd"_ustr);
+constexpr OUString gsPropertyCharStyleNames(u"CharStyleNames"_ustr);
 
 namespace
 {
@@ -520,8 +520,8 @@ void BoundFrames::Fill(const filter_t& rFilter)
     const Reference< XEnumeration > xEnum = m_xEnumAccess->createEnumeration();
     if(!xEnum.is())
         return;
-    static constexpr OUStringLiteral our_sAnchorType(u"AnchorType");
-    static constexpr OUStringLiteral our_sAnchorFrame(u"AnchorFrame");
+    static constexpr OUString our_sAnchorType(u"AnchorType"_ustr);
+    static constexpr OUString our_sAnchorFrame(u"AnchorFrame"_ustr);
     while(xEnum->hasMoreElements())
     {
         Reference<XPropertySet> xPropSet(xEnum->nextElement(), UNO_QUERY);

Reply via email to