drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 26b63f4f2f71a48dc0a9be3356da88f8b5f143dc
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Oct 19 10:30:11 2023 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Thu Oct 19 19:56:49 2023 +0200

    Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: drawinglayer
    
    Change-Id: I668041773862b380772d0425ac4eab1d37d310e3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158189
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx 
b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
index 084cc0bef17e..193f5cdad31a 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
@@ -1083,7 +1083,7 @@ void VclMetafileProcessor2D::processControlPrimitive2D(
             uno::Reference<beans::XPropertySetInfo> xPropertyInfo(
                 xModelProperties.is() ? xModelProperties->getPropertySetInfo()
                                       : 
uno::Reference<beans::XPropertySetInfo>());
-            static constexpr OUStringLiteral 
sPrintablePropertyName(u"Printable");
+            static constexpr OUString 
sPrintablePropertyName(u"Printable"_ustr);
 
             if (xPropertyInfo.is() && 
xPropertyInfo->hasPropertyByName(sPrintablePropertyName))
             {
@@ -1264,7 +1264,7 @@ void 
VclMetafileProcessor2D::processTextHierarchyFieldPrimitive2D(
 {
     // support for FIELD_SEQ_BEGIN, FIELD_SEQ_END and URL. It wraps text 
primitives (but is not limited to)
     // thus do the MetafileAction embedding stuff but just handle recursively.
-    static constexpr OStringLiteral aCommentStringCommon("FIELD_SEQ_BEGIN");
+    static constexpr OString aCommentStringCommon("FIELD_SEQ_BEGIN"_ostr);
     OUString aURL;
 
     switch (rFieldPrimitive.getType())
@@ -1358,7 +1358,7 @@ void 
VclMetafileProcessor2D::processTextHierarchyBulletPrimitive2D(
 void VclMetafileProcessor2D::processTextHierarchyParagraphPrimitive2D(
     const primitive2d::TextHierarchyParagraphPrimitive2D& rParagraphPrimitive)
 {
-    static constexpr OStringLiteral aCommentString("XTEXT_EOP");
+    static constexpr OString aCommentString("XTEXT_EOP"_ostr);
     static bool bSuppressPDFExtOutDevDataSupport(false); // 
loplugin:constvars:ignore
 
     if (nullptr == mpPDFExtOutDevData || bSuppressPDFExtOutDevDataSupport)

Reply via email to