chart2/source/view/main/ShapeFactory.cxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 65e295d1f899c4b9f720391441aa5a4d340b0d3d
Author:     Simon Chenery <simon_chen...@yahoo.com>
AuthorDate: Wed Mar 26 18:51:57 2025 +0100
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Tue Apr 22 13:37:47 2025 +0200

    tdf#158068 Use OUString literals in ShapeFactory.cxx
    
    Change-Id: I64f161c44504394e1e92c4abe922950e79607f9b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183352
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/chart2/source/view/main/ShapeFactory.cxx 
b/chart2/source/view/main/ShapeFactory.cxx
index bdcef55fcd6c..c788a85c6edd 100644
--- a/chart2/source/view/main/ShapeFactory.cxx
+++ b/chart2/source/view/main/ShapeFactory.cxx
@@ -2198,15 +2198,15 @@ rtl::Reference<SvxShapeText>
 
         //fill some more shape properties into the ValueMap
         {
-            aValueMap.insert( { "TextHorizontalAdjust", 
uno::Any(drawing::TextHorizontalAdjust_CENTER) } ); // 
drawing::TextHorizontalAdjust
-            aValueMap.insert( { "TextVerticalAdjust", 
uno::Any(drawing::TextVerticalAdjust_CENTER) } ); //drawing::TextVerticalAdjust
-            aValueMap.insert( { "TextAutoGrowHeight", uno::Any(true) } ); // 
sal_Bool
-            aValueMap.insert( { "TextAutoGrowWidth", uno::Any(true) } ); // 
sal_Bool
-            aValueMap.insert( { "TextMaximumFrameWidth", 
uno::Any(nTextMaxWidth) } ); // sal_Int32
+            aValueMap.insert( { u"TextHorizontalAdjust"_ustr, 
uno::Any(drawing::TextHorizontalAdjust_CENTER) } ); // 
drawing::TextHorizontalAdjust
+            aValueMap.insert( { u"TextVerticalAdjust"_ustr, 
uno::Any(drawing::TextVerticalAdjust_CENTER) } ); //drawing::TextVerticalAdjust
+            aValueMap.insert( { u"TextAutoGrowHeight"_ustr, uno::Any(true) } 
); // sal_Bool
+            aValueMap.insert( { u"TextAutoGrowWidth"_ustr, uno::Any(true) } ); 
// sal_Bool
+            aValueMap.insert( { u"TextMaximumFrameWidth"_ustr, 
uno::Any(nTextMaxWidth) } ); // sal_Int32
 
             //set name/classified ObjectID (CID)
             if( !aName.isEmpty() )
-                aValueMap.emplace( "Name", uno::Any( aName ) ); //CID OUString
+                aValueMap.emplace( u"Name"_ustr, uno::Any( aName ) ); //CID 
OUString
         }
 
         //set global title properties

Reply via email to