[Libreoffice-commits] core.git: 4 commits - sax/source scaddins/source sccomp/source sc/inc sc/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 31 10:56:32 UTC 2019


 sax/source/expatwrap/sax_expat.cxx                           |    2 
 sax/source/expatwrap/saxwriter.cxx                           |    2 
 sax/source/fastparser/fastparser.cxx                         |    2 
 sax/source/fastparser/legacyfastparser.cxx                   |    2 
 sax/source/tools/converter.cxx                               |    4 -
 sc/inc/miscuno.hxx                                           |    2 
 sc/source/core/data/dptabres.cxx                             |    2 
 sc/source/core/data/dputil.cxx                               |    2 
 sc/source/core/data/tabprotection.cxx                        |    6 -
 sc/source/core/tool/editutil.cxx                             |    4 -
 sc/source/filter/excel/xecontent.cxx                         |    2 
 sc/source/filter/excel/xestream.cxx                          |    4 -
 sc/source/filter/excel/xeview.cxx                            |    2 
 sc/source/filter/excel/xiescher.cxx                          |   18 ++--
 sc/source/filter/excel/xlchart.cxx                           |    8 +-
 sc/source/filter/html/htmlexp.cxx                            |    2 
 sc/source/filter/oox/drawingfragment.cxx                     |   24 +++---
 sc/source/filter/oox/excelfilter.cxx                         |    2 
 sc/source/filter/oox/ooxformulaparser.cxx                    |    4 -
 sc/source/filter/oox/querytablebuffer.cxx                    |    2 
 sc/source/filter/orcus/filterdetect.cxx                      |    4 -
 sc/source/filter/xcl97/XclExpChangeTrack.cxx                 |    4 -
 sc/source/filter/xml/XMLExportDataPilot.cxx                  |   14 +--
 sc/source/filter/xml/XMLExportDatabaseRanges.cxx             |   14 +--
 sc/source/filter/xml/xmlexprt.cxx                            |   42 +++++------
 sc/source/filter/xml/xmlimprt.cxx                            |   10 +-
 sc/source/ui/Accessibility/AccessibleCell.cxx                |    2 
 sc/source/ui/Accessibility/AccessibleCellBase.cxx            |    2 
 sc/source/ui/Accessibility/AccessibleContextBase.cxx         |    2 
 sc/source/ui/Accessibility/AccessibleCsvControl.cxx          |    6 -
 sc/source/ui/Accessibility/AccessibleDocument.cxx            |    2 
 sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx |    2 
 sc/source/ui/Accessibility/AccessibleEditObject.cxx          |    2 
 sc/source/ui/Accessibility/AccessibleFilterMenu.cxx          |    2 
 sc/source/ui/Accessibility/AccessibleFilterMenuItem.cxx      |    4 -
 sc/source/ui/Accessibility/AccessibleFilterTopWindow.cxx     |    2 
 sc/source/ui/Accessibility/AccessiblePageHeader.cxx          |    2 
 sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx      |    2 
 sc/source/ui/Accessibility/AccessiblePreviewCell.cxx         |    2 
 sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx   |    2 
 sc/source/ui/Accessibility/AccessiblePreviewTable.cxx        |    4 -
 sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx         |    2 
 sc/source/ui/Accessibility/AccessibleTableBase.cxx           |    4 -
 sc/source/ui/StatisticsDialogs/CorrelationDialog.cxx         |    2 
 sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx          |    2 
 sc/source/ui/condformat/condformathelper.cxx                 |   12 +--
 sc/source/ui/docshell/docsh.cxx                              |   14 +--
 sc/source/ui/docshell/externalrefmgr.cxx                     |    2 
 sc/source/ui/sidebar/ScPanelFactory.cxx                      |    2 
 sc/source/ui/uitest/uiobject.cxx                             |    2 
 sc/source/ui/unoobj/addruno.cxx                              |    2 
 sc/source/ui/unoobj/appluno.cxx                              |    2 
 sc/source/ui/unoobj/celllistsource.cxx                       |    2 
 sc/source/ui/unoobj/cellsuno.cxx                             |    8 +-
 sc/source/ui/unoobj/cellvaluebinding.cxx                     |    2 
 sc/source/ui/unoobj/confuno.cxx                              |    2 
 sc/source/ui/unoobj/cursuno.cxx                              |    2 
 sc/source/ui/unoobj/datauno.cxx                              |    2 
 sc/source/ui/unoobj/docuno.cxx                               |    2 
 sc/source/ui/unoobj/exceldetect.cxx                          |    2 
 sc/source/ui/unoobj/fielduno.cxx                             |    2 
 sc/source/ui/unoobj/funcuno.cxx                              |    2 
 sc/source/ui/unoobj/miscuno.cxx                              |    2 
 sc/source/ui/unoobj/nameuno.cxx                              |    2 
 sc/source/ui/unoobj/pageuno.cxx                              |    2 
 sc/source/ui/unoobj/scdetect.cxx                             |    2 
 sc/source/ui/unoobj/shapeuno.cxx                             |    2 
 sc/source/ui/unoobj/srchuno.cxx                              |    2 
 sc/source/ui/unoobj/styleuno.cxx                             |    2 
 sc/source/ui/unoobj/unodoc.cxx                               |    2 
 sc/source/ui/unoobj/viewuno.cxx                              |    2 
 sc/source/ui/vba/vbaapplication.cxx                          |   10 +-
 sc/source/ui/vba/vbaassistant.cxx                            |    2 
 sc/source/ui/vba/vbaaxes.cxx                                 |    2 
 sc/source/ui/vba/vbaaxis.cxx                                 |    2 
 sc/source/ui/vba/vbaaxistitle.cxx                            |    2 
 sc/source/ui/vba/vbaborders.cxx                              |    4 -
 sc/source/ui/vba/vbacharacters.cxx                           |    2 
 sc/source/ui/vba/vbachart.cxx                                |    2 
 sc/source/ui/vba/vbachartobject.cxx                          |    2 
 sc/source/ui/vba/vbachartobjects.cxx                         |    2 
 sc/source/ui/vba/vbacharttitle.cxx                           |    2 
 sc/source/ui/vba/vbacomment.cxx                              |    2 
 sc/source/ui/vba/vbacomments.cxx                             |    2 
 sc/source/ui/vba/vbadialog.cxx                               |    2 
 sc/source/ui/vba/vbadialogs.cxx                              |    2 
 sc/source/ui/vba/vbaeventshelper.cxx                         |    2 
 sc/source/ui/vba/vbafiledialog.cxx                           |    2 
 sc/source/ui/vba/vbafiledialogitems.cxx                      |    2 
 sc/source/ui/vba/vbafont.cxx                                 |    2 
 sc/source/ui/vba/vbaformatcondition.cxx                      |    2 
 sc/source/ui/vba/vbaformatconditions.cxx                     |    2 
 sc/source/ui/vba/vbaglobals.cxx                              |    2 
 sc/source/ui/vba/vbainterior.cxx                             |    2 
 sc/source/ui/vba/vbamenu.cxx                                 |    2 
 sc/source/ui/vba/vbamenubar.cxx                              |    2 
 sc/source/ui/vba/vbamenubars.cxx                             |    2 
 sc/source/ui/vba/vbamenuitem.cxx                             |    2 
 sc/source/ui/vba/vbamenuitems.cxx                            |    2 
 sc/source/ui/vba/vbamenus.cxx                                |    2 
 sc/source/ui/vba/vbaname.cxx                                 |    2 
 sc/source/ui/vba/vbanames.cxx                                |    2 
 sc/source/ui/vba/vbaoleobject.cxx                            |    2 
 sc/source/ui/vba/vbaoleobjects.cxx                           |    2 
 sc/source/ui/vba/vbaoutline.cxx                              |    2 
 sc/source/ui/vba/vbapagebreak.cxx                            |    4 -
 sc/source/ui/vba/vbapagebreaks.cxx                           |    4 -
 sc/source/ui/vba/vbapagesetup.cxx                            |    2 
 sc/source/ui/vba/vbapivotcache.cxx                           |    2 
 sc/source/ui/vba/vbapivottable.cxx                           |    2 
 sc/source/ui/vba/vbapivottables.cxx                          |    2 
 sc/source/ui/vba/vbarange.cxx                                |    4 -
 sc/source/ui/vba/vbarange.hxx                                |    2 
 sc/source/ui/vba/vbasheetobject.cxx                          |    2 
 sc/source/ui/vba/vbasheetobjects.cxx                         |    2 
 sc/source/ui/vba/vbastyle.cxx                                |    2 
 sc/source/ui/vba/vbastyles.cxx                               |    2 
 sc/source/ui/vba/vbatextframe.cxx                            |    2 
 sc/source/ui/vba/vbatitle.hxx                                |    2 
 sc/source/ui/vba/vbavalidation.cxx                           |    2 
 sc/source/ui/vba/vbawindow.cxx                               |    2 
 sc/source/ui/vba/vbawindows.cxx                              |    2 
 sc/source/ui/vba/vbaworkbook.cxx                             |    4 -
 sc/source/ui/vba/vbaworkbooks.cxx                            |    2 
 sc/source/ui/vba/vbaworksheet.cxx                            |    2 
 sc/source/ui/vba/vbaworksheets.cxx                           |    2 
 sc/source/ui/vba/vbawsfunction.cxx                           |    2 
 sc/source/ui/view/gridwin.cxx                                |    2 
 scaddins/source/analysis/analysis.cxx                        |    4 -
 scaddins/source/datefunc/datefunc.cxx                        |    4 -
 scaddins/source/pricing/pricing.cxx                          |    4 -
 sccomp/source/solver/CoinMPSolver.cxx                        |    2 
 sccomp/source/solver/LpsolveSolver.cxx                       |    2 
 sccomp/source/solver/SwarmSolver.cxx                         |    2 
 134 files changed, 231 insertions(+), 231 deletions(-)

New commits:
commit fee4b54d1c0eaf37dc1a08e4570642028a5c19fb
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Jul 30 17:49:49 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Jul 31 12:55:55 2019 +0200

    Improved loplugin:stringconstant (now that GCC 7 supports it): sax
    
    Change-Id: I2b8122f9633a0c4450e7a453abdb15f14c16d178
    Reviewed-on: https://gerrit.libreoffice.org/76655
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx
index 2ba000328529..87225fac08dd 100644
--- a/sax/source/expatwrap/sax_expat.cxx
+++ b/sax/source/expatwrap/sax_expat.cxx
@@ -518,7 +518,7 @@ void SaxExpatParser::setLocale( const Locale & )
 // XServiceInfo
 OUString SaxExpatParser::getImplementationName()
 {
-    return OUString("com.sun.star.comp.extensions.xml.sax.ParserExpat");
+    return "com.sun.star.comp.extensions.xml.sax.ParserExpat";
 }
 
 // XServiceInfo
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index 52160629f574..321c87b2e28b 100644
--- a/sax/source/expatwrap/saxwriter.cxx
+++ b/sax/source/expatwrap/saxwriter.cxx
@@ -1043,7 +1043,7 @@ bool isFirstCharWhitespace( const sal_Unicode *p ) throw()
 // XServiceInfo
 OUString SAXWriter::getImplementationName()
 {
-    return OUString("com.sun.star.extensions.xml.sax.Writer");
+    return "com.sun.star.extensions.xml.sax.Writer";
 }
 
 // XServiceInfo
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 67f0f23b7bea..4f1641f80b76 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -1401,7 +1401,7 @@ void FastSaxParser::setNamespaceHandler( const uno::Reference< css::xml::sax::XF
 
 OUString FastSaxParser::getImplementationName()
 {
-    return OUString("com.sun.star.comp.extensions.xml.sax.FastParser");
+    return "com.sun.star.comp.extensions.xml.sax.FastParser";
 }
 
 sal_Bool FastSaxParser::supportsService( const OUString& ServiceName )
diff --git a/sax/source/fastparser/legacyfastparser.cxx b/sax/source/fastparser/legacyfastparser.cxx
index 53b3ac8ef78c..13dfc3b1d9bf 100644
--- a/sax/source/fastparser/legacyfastparser.cxx
+++ b/sax/source/fastparser/legacyfastparser.cxx
@@ -357,7 +357,7 @@ void SaxLegacyFastParser::setLocale( const Locale &locale )
 
 OUString SaxLegacyFastParser::getImplementationName()
 {
-    return OUString("com.sun.star.comp.extensions.xml.sax.LegacyFastParser");
+    return "com.sun.star.comp.extensions.xml.sax.LegacyFastParser";
 }
 
 sal_Bool SaxLegacyFastParser::supportsService(const OUString& ServiceName)
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index cfd3b3083d40..956cdc097348 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -427,12 +427,12 @@ void Converter::convertMeasure( OUStringBuffer& rBuffer,
 
 static OUString getTrueString()
 {
-    return OUString( "true" );
+    return "true";
 }
 
 static OUString getFalseString()
 {
-    return OUString( "false" );
+    return "false";
 }
 
 /** convert string to boolean */
commit ef59252a7a3e9474569710866ab4ff5c1225cff7
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Jul 30 17:49:42 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Jul 31 12:55:48 2019 +0200

    Improved loplugin:stringconstant (now that GCC 7 supports it): sc
    
    Change-Id: I1bfd2bb623aac5ac457a0b719da64ab393ccd0ba
    Reviewed-on: https://gerrit.libreoffice.org/76654
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sc/inc/miscuno.hxx b/sc/inc/miscuno.hxx
index 2fe74f0dfe1a..fd7466279d0e 100644
--- a/sc/inc/miscuno.hxx
+++ b/sc/inc/miscuno.hxx
@@ -35,7 +35,7 @@
 #define SC_SIMPLE_SERVICE_INFO( ClassName, ClassNameAscii, ServiceAscii )            \
 OUString SAL_CALL ClassName::getImplementationName()                      \
 {                                                                                    \
-    return OUString(ClassNameAscii);                         \
+    return ClassNameAscii;                         \
 }                                                                                    \
 sal_Bool SAL_CALL ClassName::supportsService( const OUString& ServiceName ) \
 {                                                                                    \
diff --git a/sc/source/core/data/dptabres.cxx b/sc/source/core/data/dptabres.cxx
index d78885dc8d31..67f742dece8b 100644
--- a/sc/source/core/data/dptabres.cxx
+++ b/sc/source/core/data/dptabres.cxx
@@ -874,7 +874,7 @@ OUString ScDPResultData::GetMeasureDimensionName(long nMeasure) const
     if ( nMeasure < 0 )
     {
         OSL_FAIL("GetMeasureDimensionName: negative");
-        return OUString("***");
+        return "***";
     }
 
     return mrSource.GetDataDimName(nMeasure);
diff --git a/sc/source/core/data/dputil.cxx b/sc/source/core/data/dputil.cxx
index d19f2a6adde1..235531299361 100644
--- a/sc/source/core/data/dputil.cxx
+++ b/sc/source/core/data/dputil.cxx
@@ -147,7 +147,7 @@ OUString ScDPUtil::getDateGroupName(
             OSL_FAIL("invalid date part");
     }
 
-    return OUString("FIXME: unhandled value");
+    return "FIXME: unhandled value";
 }
 
 double ScDPUtil::getNumGroupStartValue(double fValue, const ScDPNumGroupInfo& rInfo)
diff --git a/sc/source/core/data/tabprotection.cxx b/sc/source/core/data/tabprotection.cxx
index 63bcbb3553e0..ea211bed1173 100644
--- a/sc/source/core/data/tabprotection.cxx
+++ b/sc/source/core/data/tabprotection.cxx
@@ -66,11 +66,11 @@ OUString ScPassHashHelper::getHashURI(ScPasswordHash eHash)
     switch (eHash)
     {
         case PASSHASH_SHA256:
-            return OUString(URI_SHA256_ODF12);
+            return URI_SHA256_ODF12;
         case PASSHASH_SHA1:
-            return OUString(URI_SHA1);
+            return URI_SHA1;
         case PASSHASH_XL:
-            return OUString(URI_XLS_LEGACY);
+            return URI_XLS_LEGACY;
         case PASSHASH_UNSPECIFIED:
         default:
             ;
diff --git a/sc/source/core/tool/editutil.cxx b/sc/source/core/tool/editutil.cxx
index aa18f4a7c800..a90f29f749d0 100644
--- a/sc/source/core/tool/editutil.cxx
+++ b/sc/source/core/tool/editutil.cxx
@@ -800,7 +800,7 @@ OUString ScHeaderEditEngine::CalcFieldValue( const SvxFieldItem& rField,
 {
     const SvxFieldData* pFieldData = rField.GetField();
     if (!pFieldData)
-        return OUString("?");
+        return "?";
 
     OUString aRet;
     sal_Int32 nClsId = pFieldData->GetClassId();
@@ -865,7 +865,7 @@ OUString ScFieldEditEngine::CalcFieldValue( const SvxFieldItem& rField,
     const SvxFieldData* pFieldData = rField.GetField();
 
     if (!pFieldData)
-        return OUString(" ");
+        return " ";
 
     return ScEditUtil::GetCellFieldValue(*pFieldData, mpDoc, &rTxtColor);
 }
diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx
index 6cdd0ad7ad27..444b737d038c 100644
--- a/sc/source/filter/excel/xecontent.cxx
+++ b/sc/source/filter/excel/xecontent.cxx
@@ -1009,7 +1009,7 @@ OString GetFixedFormula(ScConditionMode eMode, const ScAddress& rAddress, const
         break;
     }
 
-    return OString("");
+    return "";
 }
 
 }
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx
index e2bfc38cc26a..3a292b545898 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -698,7 +698,7 @@ OString XclXmlUtils::ToOString( const Color& rColor )
     char buf[9];
     sprintf( buf, "%.2X%.2X%.2X%.2X", 0xFF-rColor.GetTransparency(), rColor.GetRed(), rColor.GetGreen(), rColor.GetBlue() );
     buf[8] = '\0';
-    return OString( buf );
+    return buf;
 }
 
 OStringBuffer& XclXmlUtils::ToOString( OStringBuffer& s, const ScAddress& rAddress )
@@ -1128,7 +1128,7 @@ bool XclExpXmlStream::exportDocument()
 
 OUString XclExpXmlStream::getImplementationName()
 {
-    return OUString( "TODO" );
+    return "TODO";
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/excel/xeview.cxx b/sc/source/filter/excel/xeview.cxx
index b83937452b1a..964b7d2447b0 100644
--- a/sc/source/filter/excel/xeview.cxx
+++ b/sc/source/filter/excel/xeview.cxx
@@ -410,7 +410,7 @@ static OString lcl_GetZoom( sal_uInt16 nZoom )
 {
     if( nZoom )
         return OString::number( nZoom );
-    return OString( "100" );
+    return "100";
 }
 
 void XclExpTabViewSettings::SaveXml( XclExpXmlStream& rStrm )
diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx
index c4d10a8eaf5a..0335bc4928a1 100644
--- a/sc/source/filter/excel/xiescher.cxx
+++ b/sc/source/filter/excel/xiescher.cxx
@@ -2164,7 +2164,7 @@ void XclImpButtonObj::DoProcessControl( ScfPropertySet& rPropSet ) const
 
 OUString XclImpButtonObj::DoGetServiceName() const
 {
-    return OUString( "com.sun.star.form.component.CommandButton" );
+    return "com.sun.star.form.component.CommandButton";
 }
 
 XclTbxEventType XclImpButtonObj::DoGetEventType() const
@@ -2256,7 +2256,7 @@ void XclImpCheckBoxObj::DoProcessControl( ScfPropertySet& rPropSet ) const
 
 OUString XclImpCheckBoxObj::DoGetServiceName() const
 {
-    return OUString( "com.sun.star.form.component.CheckBox" );
+    return "com.sun.star.form.component.CheckBox";
 }
 
 XclTbxEventType XclImpCheckBoxObj::DoGetEventType() const
@@ -2349,7 +2349,7 @@ void XclImpOptionButtonObj::DoProcessControl( ScfPropertySet& rPropSet ) const
 
 OUString XclImpOptionButtonObj::DoGetServiceName() const
 {
-    return OUString( "com.sun.star.form.component.RadioButton" );
+    return "com.sun.star.form.component.RadioButton";
 }
 
 XclTbxEventType XclImpOptionButtonObj::DoGetEventType() const
@@ -2378,7 +2378,7 @@ void XclImpLabelObj::DoProcessControl( ScfPropertySet& rPropSet ) const
 
 OUString XclImpLabelObj::DoGetServiceName() const
 {
-    return OUString( "com.sun.star.form.component.FixedText" );
+    return "com.sun.star.form.component.FixedText";
 }
 
 XclTbxEventType XclImpLabelObj::DoGetEventType() const
@@ -2429,7 +2429,7 @@ void XclImpGroupBoxObj::DoProcessControl( ScfPropertySet& rPropSet ) const
 
 OUString XclImpGroupBoxObj::DoGetServiceName() const
 {
-    return OUString( "com.sun.star.form.component.GroupBox" );
+    return "com.sun.star.form.component.GroupBox";
 }
 
 XclTbxEventType XclImpGroupBoxObj::DoGetEventType() const
@@ -2451,7 +2451,7 @@ void XclImpDialogObj::DoProcessControl( ScfPropertySet& rPropSet ) const
 OUString XclImpDialogObj::DoGetServiceName() const
 {
     // dialog frame faked by a groupbox
-    return OUString( "com.sun.star.form.component.GroupBox" );
+    return "com.sun.star.form.component.GroupBox";
 }
 
 XclTbxEventType XclImpDialogObj::DoGetEventType() const
@@ -2607,7 +2607,7 @@ void XclImpSpinButtonObj::DoProcessControl( ScfPropertySet& rPropSet ) const
 
 OUString XclImpSpinButtonObj::DoGetServiceName() const
 {
-    return OUString( "com.sun.star.form.component.SpinButton" );
+    return "com.sun.star.form.component.SpinButton";
 }
 
 XclTbxEventType XclImpSpinButtonObj::DoGetEventType() const
@@ -2647,7 +2647,7 @@ void XclImpScrollBarObj::DoProcessControl( ScfPropertySet& rPropSet ) const
 
 OUString XclImpScrollBarObj::DoGetServiceName() const
 {
-    return OUString( "com.sun.star.form.component.ScrollBar" );
+    return "com.sun.star.form.component.ScrollBar";
 }
 
 XclTbxEventType XclImpScrollBarObj::DoGetEventType() const
@@ -2769,7 +2769,7 @@ void XclImpListBoxObj::DoProcessControl( ScfPropertySet& rPropSet ) const
 
 OUString XclImpListBoxObj::DoGetServiceName() const
 {
-    return OUString( "com.sun.star.form.component.ListBox" );
+    return "com.sun.star.form.component.ListBox";
 }
 
 XclTbxEventType XclImpListBoxObj::DoGetEventType() const
diff --git a/sc/source/filter/excel/xlchart.cxx b/sc/source/filter/excel/xlchart.cxx
index 3d88d505f764..a51ecefd74f6 100644
--- a/sc/source/filter/excel/xlchart.cxx
+++ b/sc/source/filter/excel/xlchart.cxx
@@ -400,10 +400,10 @@ OUString XclChartHelper::GetErrorBarValuesRole( sal_uInt8 nBarType )
 {
     switch( nBarType )
     {
-        case EXC_CHSERERR_XPLUS:    return OUString( EXC_CHPROP_ROLE_ERRORBARS_POSX );
-        case EXC_CHSERERR_XMINUS:   return OUString( EXC_CHPROP_ROLE_ERRORBARS_NEGX );
-        case EXC_CHSERERR_YPLUS:    return OUString( EXC_CHPROP_ROLE_ERRORBARS_POSY );
-        case EXC_CHSERERR_YMINUS:   return OUString( EXC_CHPROP_ROLE_ERRORBARS_NEGY );
+        case EXC_CHSERERR_XPLUS:    return EXC_CHPROP_ROLE_ERRORBARS_POSX;
+        case EXC_CHSERERR_XMINUS:   return EXC_CHPROP_ROLE_ERRORBARS_NEGX;
+        case EXC_CHSERERR_YPLUS:    return EXC_CHPROP_ROLE_ERRORBARS_POSY;
+        case EXC_CHSERERR_YMINUS:   return EXC_CHPROP_ROLE_ERRORBARS_NEGY;
         default:    OSL_FAIL( "XclChartHelper::GetErrorBarValuesRole - unknown bar type" );
     }
     return OUString();
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx
index 80c32814fac0..33101507df69 100644
--- a/sc/source/filter/html/htmlexp.cxx
+++ b/sc/source/filter/html/htmlexp.cxx
@@ -183,7 +183,7 @@ static OString lcl_makeHTMLColorTriplet(const Color& rColor)
     // <font COLOR="#00FF40">hello</font>
     snprintf( buf, 24, "\"#%02X%02X%02X\"", rColor.GetRed(), rColor.GetGreen(), rColor.GetBlue() );
 
-    return OString(buf);
+    return buf;
 }
 
 ScHTMLExport::ScHTMLExport( SvStream& rStrmP, const OUString& rBaseURL, ScDocument* pDocP,
diff --git a/sc/source/filter/oox/drawingfragment.cxx b/sc/source/filter/oox/drawingfragment.cxx
index 70701e193c28..0aa475a64f94 100644
--- a/sc/source/filter/oox/drawingfragment.cxx
+++ b/sc/source/filter/oox/drawingfragment.cxx
@@ -425,19 +425,19 @@ OUString VmlDrawing::getShapeBaseName( const ::oox::vml::ShapeBase& rShape ) con
     {
         switch( pClientData->mnObjType )
         {
-            case XML_Button:    return OUString( "Button" );
-            case XML_Checkbox:  return OUString( "Check Box" );
-            case XML_Dialog:    return OUString( "Dialog Frame" );
-            case XML_Drop:      return OUString( "Drop Down" );
-            case XML_Edit:      return OUString( "Edit Box" );
-            case XML_GBox:      return OUString( "Group Box" );
-            case XML_Label:     return OUString( "Label" );
-            case XML_List:      return OUString( "List Box" );
-            case XML_Note:      return OUString( "Comment" );
+            case XML_Button:    return "Button";
+            case XML_Checkbox:  return "Check Box";
+            case XML_Dialog:    return "Dialog Frame";
+            case XML_Drop:      return "Drop Down";
+            case XML_Edit:      return "Edit Box";
+            case XML_GBox:      return "Group Box";
+            case XML_Label:     return "Label";
+            case XML_List:      return "List Box";
+            case XML_Note:      return "Comment";
             case XML_Pict:      return (pClientData->mbDde || getOleObjectInfo( rShape.getShapeId() )) ? OUString( "Object" ) : OUString( "Picture" );
-            case XML_Radio:     return OUString( "Option Button" );
-            case XML_Scroll:    return OUString( "Scroll Bar" );
-            case XML_Spin:      return OUString( "Spinner" );
+            case XML_Radio:     return "Option Button";
+            case XML_Scroll:    return "Scroll Bar";
+            case XML_Spin:      return "Spinner";
         }
     }
     return ::oox::vml::Drawing::getShapeBaseName( rShape );
diff --git a/sc/source/filter/oox/excelfilter.cxx b/sc/source/filter/oox/excelfilter.cxx
index fcf582a5bc26..dfca3600283a 100644
--- a/sc/source/filter/oox/excelfilter.cxx
+++ b/sc/source/filter/oox/excelfilter.cxx
@@ -244,7 +244,7 @@ sal_Bool SAL_CALL ExcelFilter::filter( const css::uno::Sequence< css::beans::Pro
 
 OUString ExcelFilter::getImplementationName()
 {
-    return OUString( "com.sun.star.comp.oox.xls.ExcelFilter" );
+    return "com.sun.star.comp.oox.xls.ExcelFilter";
 }
 
 } // namespace xls
diff --git a/sc/source/filter/oox/ooxformulaparser.cxx b/sc/source/filter/oox/ooxformulaparser.cxx
index eb94e35b2d62..ce280cbf8b1a 100644
--- a/sc/source/filter/oox/ooxformulaparser.cxx
+++ b/sc/source/filter/oox/ooxformulaparser.cxx
@@ -110,7 +110,7 @@ OOXMLFormulaParser::~OOXMLFormulaParser()
 // com.sun.star.lang.XServiceInfo interface -----------------------------------
 OUString SAL_CALL OOXMLFormulaParser::getImplementationName()
 {
-    return OUString( "com.sun.star.comp.oox.xls.FormulaParser");
+    return "com.sun.star.comp.oox.xls.FormulaParser";
 }
 
 sal_Bool SAL_CALL OOXMLFormulaParser::supportsService( const OUString& rService )
@@ -138,7 +138,7 @@ void SAL_CALL OOXMLFormulaParser::initialize( const Sequence< Any >& rArgs )
 
 OUString SAL_CALL OOXMLFormulaParser::getSupportedNamespace()
 {
-    return OUString( "http://schemas.microsoft.com/office/excel/formula");
+    return "http://schemas.microsoft.com/office/excel/formula";
 }
 
 // com.sun.star.sheet.XFormulaParser interface --------------------------------
diff --git a/sc/source/filter/oox/querytablebuffer.cxx b/sc/source/filter/oox/querytablebuffer.cxx
index 437dd4e263ad..cf16040337fe 100644
--- a/sc/source/filter/oox/querytablebuffer.cxx
+++ b/sc/source/filter/oox/querytablebuffer.cxx
@@ -86,7 +86,7 @@ void lclAppendWebQueryTableIndex( OUStringBuffer& rTables, sal_Int32 nTableIndex
 OUString lclBuildWebQueryTables( const WebPrModel::TablesVector& rTables )
 {
     if( rTables.empty() )
-        return OUString( "HTML_tables" );
+        return "HTML_tables";
 
     OUStringBuffer aTables;
     for( const auto& rTable : rTables )
diff --git a/sc/source/filter/orcus/filterdetect.cxx b/sc/source/filter/orcus/filterdetect.cxx
index fb142d86b579..106248854b1d 100644
--- a/sc/source/filter/orcus/filterdetect.cxx
+++ b/sc/source/filter/orcus/filterdetect.cxx
@@ -85,9 +85,9 @@ OUString OrcusFormatDetect::detect(css::uno::Sequence<css::beans::PropertyValue>
     switch (eFormat)
     {
         case orcus::format_t::gnumeric:
-            return OUString("Gnumeric XML");
+            return "Gnumeric XML";
         case orcus::format_t::xls_xml:
-            return OUString("calc_MS_Excel_2003_XML");
+            return "calc_MS_Excel_2003_XML";
         default:
             ;
     }
diff --git a/sc/source/filter/xcl97/XclExpChangeTrack.cxx b/sc/source/filter/xcl97/XclExpChangeTrack.cxx
index bd4870bbde22..ba33eee4510c 100644
--- a/sc/source/filter/xcl97/XclExpChangeTrack.cxx
+++ b/sc/source/filter/xcl97/XclExpChangeTrack.cxx
@@ -45,7 +45,7 @@ static OString lcl_GuidToOString( sal_uInt8 aGuid[ 16 ] )
             "{%02X%02X%02X%02X-%02X%02X-%02X%02X-%02X%02X-%02X%02X%02X%02X%02X%02X}",
             aGuid[ 0 ], aGuid[ 1 ], aGuid[ 2 ], aGuid[ 3 ], aGuid[ 4 ], aGuid[ 5 ], aGuid[ 6 ], aGuid[ 7 ],
             aGuid[ 8 ], aGuid[ 9 ], aGuid[ 10 ], aGuid[ 11 ], aGuid[ 12 ], aGuid[ 13 ], aGuid[ 14 ], aGuid[ 15 ] );
-    return OString( sBuf );
+    return sBuf;
 }
 
 static OString lcl_DateTimeToOString( const DateTime& rDateTime )
@@ -56,7 +56,7 @@ static OString lcl_DateTimeToOString( const DateTime& rDateTime )
             rDateTime.GetYear(), rDateTime.GetMonth(), rDateTime.GetDay(),
             rDateTime.GetHour(), rDateTime.GetMin(), rDateTime.GetSec(),
             rDateTime.GetNanoSec() );
-    return OString( sBuf );
+    return sBuf;
 }
 
 // local functions
diff --git a/sc/source/filter/xml/XMLExportDataPilot.cxx b/sc/source/filter/xml/XMLExportDataPilot.cxx
index 42cf6b501990..fa88b9bd1966 100644
--- a/sc/source/filter/xml/XMLExportDataPilot.cxx
+++ b/sc/source/filter/xml/XMLExportDataPilot.cxx
@@ -76,27 +76,27 @@ OUString ScXMLExportDataPilot::getDPOperatorXML(
             if (eSearchType == utl::SearchParam::SearchType::Regexp)
                 return GetXMLToken(XML_MATCH);
             else
-                return OUString("=");
+                return "=";
         }
         case SC_NOT_EQUAL :
         {
             if (eSearchType == utl::SearchParam::SearchType::Regexp)
                 return GetXMLToken(XML_NOMATCH);
             else
-                return OUString("!=");
+                return "!=";
         }
         case SC_BOTPERC :
             return GetXMLToken(XML_BOTTOM_PERCENT);
         case SC_BOTVAL :
             return GetXMLToken(XML_BOTTOM_VALUES);
         case SC_GREATER :
-            return OUString(">");
+            return ">";
         case SC_GREATER_EQUAL :
-            return OUString(">=");
+            return ">=";
         case SC_LESS :
-            return OUString("<");
+            return "<";
         case SC_LESS_EQUAL :
-            return OUString("<=");
+            return "<=";
         case SC_TOPPERC :
             return GetXMLToken(XML_TOP_PERCENT);
         case SC_TOPVAL :
@@ -104,7 +104,7 @@ OUString ScXMLExportDataPilot::getDPOperatorXML(
         default:
             OSL_FAIL("This FilterOperator is not supported.");
     }
-    return OUString("=");
+    return "=";
 }
 
 void ScXMLExportDataPilot::WriteDPCondition(const ScQueryEntry& aQueryEntry, bool bIsCaseSensitive,
diff --git a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx
index 5fc7ccb01585..c9b154409055 100644
--- a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx
+++ b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx
@@ -394,21 +394,21 @@ private:
                 if (eSearchType == utl::SearchParam::SearchType::Regexp)
                     return GetXMLToken(XML_MATCH);
                 else
-                    return OUString("=");
+                    return "=";
             }
             case SC_GREATER:
-                return OUString(">");
+                return ">";
             case SC_GREATER_EQUAL:
-                return OUString(">=");
+                return ">=";
             case SC_LESS:
-                return OUString("<");
+                return "<";
             case SC_LESS_EQUAL:
-                return OUString("<=");
+                return "<=";
             case SC_NOT_EQUAL:
                 if (eSearchType == utl::SearchParam::SearchType::Regexp)
                     return GetXMLToken(XML_NOMATCH);
                 else
-                    return OUString("!=");
+                    return "!=";
             case SC_TOPPERC:
                 return GetXMLToken(XML_TOP_PERCENT);
             case SC_TOPVAL:
@@ -416,7 +416,7 @@ private:
             default:
                 ;
         }
-        return OUString("=");
+        return "=";
     }
 
     class WriteSetItem
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index 0406e1e3d543..9b8b5071bd01 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -4445,23 +4445,23 @@ OUString getCondFormatEntryType(const ScColorScaleEntry& rEntry, bool bFirst = t
     switch(rEntry.GetType())
     {
         case COLORSCALE_MIN:
-            return OUString("minimum");
+            return "minimum";
         case COLORSCALE_MAX:
-            return OUString("maximum");
+            return "maximum";
         case COLORSCALE_PERCENT:
-            return OUString("percent");
+            return "percent";
         case COLORSCALE_PERCENTILE:
-            return OUString("percentile");
+            return "percentile";
         case COLORSCALE_FORMULA:
-            return OUString("formula");
+            return "formula";
         case COLORSCALE_VALUE:
-            return OUString("number");
+            return "number";
         case COLORSCALE_AUTO:
             // only important for data bars
             if(bFirst)
-                return OUString("auto-minimum");
+                return "auto-minimum";
             else
-                return OUString("auto-maximum");
+                return "auto-maximum";
     }
     return OUString();
 }
@@ -4471,31 +4471,31 @@ OUString getDateStringForType(condformat::ScCondFormatDateType eType)
     switch(eType)
     {
         case condformat::TODAY:
-            return OUString("today");
+            return "today";
         case condformat::YESTERDAY:
-            return OUString("yesterday");
+            return "yesterday";
         case condformat::TOMORROW:
-            return OUString("tomorrow");
+            return "tomorrow";
         case condformat::LAST7DAYS:
-            return OUString("last-7-days");
+            return "last-7-days";
         case condformat::THISWEEK:
-            return OUString("this-week");
+            return "this-week";
         case condformat::LASTWEEK:
-            return OUString("last-week");
+            return "last-week";
         case condformat::NEXTWEEK:
-            return OUString("next-week");
+            return "next-week";
         case condformat::THISMONTH:
-            return OUString("this-month");
+            return "this-month";
         case condformat::LASTMONTH:
-            return OUString("last-month");
+            return "last-month";
         case condformat::NEXTMONTH:
-            return OUString("next-month");
+            return "next-month";
         case condformat::THISYEAR:
-            return OUString("this-year");
+            return "this-year";
         case condformat::LASTYEAR:
-            return OUString("last-year");
+            return "last-year";
         case condformat::NEXTYEAR:
-            return OUString("next-year");
+            return "next-year";
     }
 
     return OUString();
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx
index 36176b87e56b..2c3f4d40e75a 100644
--- a/sc/source/filter/xml/xmlimprt.cxx
+++ b/sc/source/filter/xml/xmlimprt.cxx
@@ -111,7 +111,7 @@ using namespace ::formula;
 
 OUString ScXMLImport_getImplementationName() throw()
 {
-    return OUString( "com.sun.star.comp.Calc.XMLOasisImporter" );
+    return "com.sun.star.comp.Calc.XMLOasisImporter";
 }
 
 uno::Sequence< OUString > ScXMLImport_getSupportedServiceNames() throw()
@@ -129,7 +129,7 @@ uno::Reference< uno::XInterface > ScXMLImport_createInstance(
 
 OUString ScXMLImport_Meta_getImplementationName() throw()
 {
-    return OUString( "com.sun.star.comp.Calc.XMLOasisMetaImporter" );
+    return "com.sun.star.comp.Calc.XMLOasisMetaImporter";
 }
 
 uno::Sequence< OUString > ScXMLImport_Meta_getSupportedServiceNames() throw()
@@ -147,7 +147,7 @@ uno::Reference< uno::XInterface > ScXMLImport_Meta_createInstance(
 
 OUString ScXMLImport_Styles_getImplementationName() throw()
 {
-    return OUString( "com.sun.star.comp.Calc.XMLOasisStylesImporter" );
+    return "com.sun.star.comp.Calc.XMLOasisStylesImporter";
 }
 
 uno::Sequence< OUString > ScXMLImport_Styles_getSupportedServiceNames() throw()
@@ -165,7 +165,7 @@ uno::Reference< uno::XInterface > ScXMLImport_Styles_createInstance(
 
 OUString ScXMLImport_Content_getImplementationName() throw()
 {
-    return OUString( "com.sun.star.comp.Calc.XMLOasisContentImporter" );
+    return "com.sun.star.comp.Calc.XMLOasisContentImporter";
 }
 
 uno::Sequence< OUString > ScXMLImport_Content_getSupportedServiceNames() throw()
@@ -183,7 +183,7 @@ uno::Reference< uno::XInterface > ScXMLImport_Content_createInstance(
 
 OUString ScXMLImport_Settings_getImplementationName() throw()
 {
-    return OUString( "com.sun.star.comp.Calc.XMLOasisSettingsImporter" );
+    return "com.sun.star.comp.Calc.XMLOasisSettingsImporter";
 }
 
 uno::Sequence< OUString > ScXMLImport_Settings_getSupportedServiceNames() throw()
diff --git a/sc/source/ui/Accessibility/AccessibleCell.cxx b/sc/source/ui/Accessibility/AccessibleCell.cxx
index 7ea9c99ccfcd..e053ed209751 100644
--- a/sc/source/ui/Accessibility/AccessibleCell.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCell.cxx
@@ -289,7 +289,7 @@ uno::Reference<XAccessibleRelationSet> SAL_CALL
 
 OUString SAL_CALL ScAccessibleCell::getImplementationName()
 {
-    return OUString("ScAccessibleCell");
+    return "ScAccessibleCell";
 }
 
 uno::Sequence< OUString> SAL_CALL
diff --git a/sc/source/ui/Accessibility/AccessibleCellBase.cxx b/sc/source/ui/Accessibility/AccessibleCellBase.cxx
index 2b26d3f00f33..754c48049529 100644
--- a/sc/source/ui/Accessibility/AccessibleCellBase.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCellBase.cxx
@@ -265,7 +265,7 @@ uno::Any SAL_CALL
 
 OUString SAL_CALL ScAccessibleCellBase::getImplementationName()
 {
-    return OUString("ScAccessibleCellBase");
+    return "ScAccessibleCellBase";
 }
 
     //=====  XTypeProvider  ===================================================
diff --git a/sc/source/ui/Accessibility/AccessibleContextBase.cxx b/sc/source/ui/Accessibility/AccessibleContextBase.cxx
index 40fd9d9609d4..e0f7237c507b 100644
--- a/sc/source/ui/Accessibility/AccessibleContextBase.cxx
+++ b/sc/source/ui/Accessibility/AccessibleContextBase.cxx
@@ -417,7 +417,7 @@ void SAL_CALL ScAccessibleContextBase::notifyEvent(
 // XServiceInfo
 OUString SAL_CALL ScAccessibleContextBase::getImplementationName()
 {
-    return OUString("ScAccessibleContextBase");
+    return "ScAccessibleContextBase";
 }
 
 sal_Bool SAL_CALL ScAccessibleContextBase::supportsService(const OUString& sServiceName)
diff --git a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
index be989a78e6eb..b751ed478eac 100644
--- a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
@@ -703,7 +703,7 @@ void SAL_CALL ScAccessibleCsvRuler::release() throw ()
 
 OUString SAL_CALL ScAccessibleCsvRuler::getImplementationName()
 {
-    return OUString( RULER_IMPL_NAME );
+    return RULER_IMPL_NAME;
 }
 
 // XTypeProvider --------------------------------------------------------------
@@ -1186,7 +1186,7 @@ void SAL_CALL ScAccessibleCsvGrid::release() throw ()
 
 OUString SAL_CALL ScAccessibleCsvGrid::getImplementationName()
 {
-    return OUString( GRID_IMPL_NAME );
+    return GRID_IMPL_NAME;
 }
 
 // XTypeProvider --------------------------------------------------------------
@@ -1458,7 +1458,7 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( ScAccessibleCsvCell, ScAccessibleCsvControl, A
 
 OUString SAL_CALL ScAccessibleCsvCell::getImplementationName()
 {
-    return OUString( CELL_IMPL_NAME );
+    return CELL_IMPL_NAME;
 }
 
 // helpers --------------------------------------------------------------------
diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index 5f434733a557..489ee8a69434 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -1964,7 +1964,7 @@ void SAL_CALL
 OUString SAL_CALL
     ScAccessibleDocument::getImplementationName()
 {
-    return OUString("ScAccessibleDocument");
+    return "ScAccessibleDocument";
 }
 
 uno::Sequence< OUString> SAL_CALL
diff --git a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
index 8b660416039d..84022786f83a 100644
--- a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
@@ -1388,7 +1388,7 @@ uno::Reference<XAccessibleStateSet> SAL_CALL ScAccessibleDocumentPagePreview::ge
 
 OUString SAL_CALL ScAccessibleDocumentPagePreview::getImplementationName()
 {
-    return OUString("ScAccessibleDocumentPagePreview");
+    return "ScAccessibleDocumentPagePreview";
 }
 
 uno::Sequence< OUString> SAL_CALL ScAccessibleDocumentPagePreview::getSupportedServiceNames()
diff --git a/sc/source/ui/Accessibility/AccessibleEditObject.cxx b/sc/source/ui/Accessibility/AccessibleEditObject.cxx
index dc32e50924a0..a846e8f9016d 100644
--- a/sc/source/ui/Accessibility/AccessibleEditObject.cxx
+++ b/sc/source/ui/Accessibility/AccessibleEditObject.cxx
@@ -327,7 +327,7 @@ void SAL_CALL
 
 OUString SAL_CALL ScAccessibleEditObject::getImplementationName()
 {
-    return OUString("ScAccessibleEditObject");
+    return "ScAccessibleEditObject";
 }
 
 //=====  XTypeProvider  =======================================================
diff --git a/sc/source/ui/Accessibility/AccessibleFilterMenu.cxx b/sc/source/ui/Accessibility/AccessibleFilterMenu.cxx
index da38e6369993..7dfcae0e7edf 100644
--- a/sc/source/ui/Accessibility/AccessibleFilterMenu.cxx
+++ b/sc/source/ui/Accessibility/AccessibleFilterMenu.cxx
@@ -130,7 +130,7 @@ Reference<XAccessibleStateSet> ScAccessibleFilterMenu::getAccessibleStateSet()
 
 OUString ScAccessibleFilterMenu::getImplementationName()
 {
-    return OUString("ScAccessibleFilterMenu");
+    return "ScAccessibleFilterMenu";
 }
 
 // XAccessibleEventBroadcaster
diff --git a/sc/source/ui/Accessibility/AccessibleFilterMenuItem.cxx b/sc/source/ui/Accessibility/AccessibleFilterMenuItem.cxx
index d9465005251f..cf964847f54d 100644
--- a/sc/source/ui/Accessibility/AccessibleFilterMenuItem.cxx
+++ b/sc/source/ui/Accessibility/AccessibleFilterMenuItem.cxx
@@ -65,7 +65,7 @@ Reference<XAccessibleStateSet> ScAccessibleFilterMenuItem::getAccessibleStateSet
 
 OUString ScAccessibleFilterMenuItem::getImplementationName()
 {
-    return OUString("ScAccessibleFilterMenuItem");
+    return "ScAccessibleFilterMenuItem";
 }
 
 // XAccessibleAction
@@ -83,7 +83,7 @@ sal_Bool ScAccessibleFilterMenuItem::doAccessibleAction(sal_Int32 /*nIndex*/)
 
 OUString ScAccessibleFilterMenuItem::getAccessibleActionDescription(sal_Int32 /*nIndex*/)
 {
-    return OUString("click");
+    return "click";
 }
 
 Reference<XAccessibleKeyBinding> ScAccessibleFilterMenuItem::getAccessibleActionKeyBinding(
diff --git a/sc/source/ui/Accessibility/AccessibleFilterTopWindow.cxx b/sc/source/ui/Accessibility/AccessibleFilterTopWindow.cxx
index 55aa073afd7b..9fdc7825ca92 100644
--- a/sc/source/ui/Accessibility/AccessibleFilterTopWindow.cxx
+++ b/sc/source/ui/Accessibility/AccessibleFilterTopWindow.cxx
@@ -84,7 +84,7 @@ Reference<XAccessible> ScAccessibleFilterTopWindow::getAccessibleChild(
 
 OUString ScAccessibleFilterTopWindow::getImplementationName()
 {
-    return OUString("ScAccessibleFilterTopWindow");
+    return "ScAccessibleFilterTopWindow";
 }
 
 void ScAccessibleFilterTopWindow::setAccessibleChild(
diff --git a/sc/source/ui/Accessibility/AccessiblePageHeader.cxx b/sc/source/ui/Accessibility/AccessiblePageHeader.cxx
index 2255329151e8..54df90578554 100644
--- a/sc/source/ui/Accessibility/AccessiblePageHeader.cxx
+++ b/sc/source/ui/Accessibility/AccessiblePageHeader.cxx
@@ -276,7 +276,7 @@ uno::Reference< XAccessibleStateSet > SAL_CALL ScAccessiblePageHeader::getAccess
 
 OUString SAL_CALL ScAccessiblePageHeader::getImplementationName()
 {
-    return OUString("ScAccessiblePageHeader");
+    return "ScAccessiblePageHeader";
 }
 
 uno::Sequence<OUString> SAL_CALL ScAccessiblePageHeader::getSupportedServiceNames()
diff --git a/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx b/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx
index e42df0b2f2b3..dfc3159a89a3 100644
--- a/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx
+++ b/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx
@@ -168,7 +168,7 @@ uno::Reference<XAccessibleStateSet> SAL_CALL
 OUString SAL_CALL
        ScAccessiblePageHeaderArea::getImplementationName()
 {
-    return OUString("ScAccessiblePageHeaderArea");
+    return "ScAccessiblePageHeaderArea";
 }
 
 uno::Sequence< OUString> SAL_CALL
diff --git a/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx b/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx
index 939dce5735c5..70e8c970f182 100644
--- a/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx
+++ b/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx
@@ -172,7 +172,7 @@ uno::Reference<XAccessibleStateSet> SAL_CALL ScAccessiblePreviewCell::getAccessi
 
 OUString SAL_CALL ScAccessiblePreviewCell::getImplementationName()
 {
-    return OUString("ScAccessiblePreviewCell");
+    return "ScAccessiblePreviewCell";
 }
 
 uno::Sequence<OUString> SAL_CALL ScAccessiblePreviewCell::getSupportedServiceNames()
diff --git a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx
index dc3c79412261..d830a725425a 100644
--- a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx
+++ b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx
@@ -253,7 +253,7 @@ uno::Reference<XAccessibleStateSet> SAL_CALL ScAccessiblePreviewHeaderCell::getA
 
 OUString SAL_CALL ScAccessiblePreviewHeaderCell::getImplementationName()
 {
-    return OUString("ScAccessiblePreviewHeaderCell");
+    return "ScAccessiblePreviewHeaderCell";
 }
 
 uno::Sequence<OUString> SAL_CALL ScAccessiblePreviewHeaderCell::getSupportedServiceNames()
diff --git a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
index 3a372546cbaf..bd47bf57e40a 100644
--- a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
+++ b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
@@ -527,7 +527,7 @@ uno::Reference< XAccessibleStateSet > SAL_CALL ScAccessiblePreviewTable::getAcce
 
 OUString SAL_CALL ScAccessiblePreviewTable::getImplementationName()
 {
-    return OUString("ScAccessiblePreviewTable");
+    return "ScAccessiblePreviewTable";
 }
 
 uno::Sequence<OUString> SAL_CALL ScAccessiblePreviewTable::getSupportedServiceNames()
@@ -557,7 +557,7 @@ uno::Sequence<sal_Int8> SAL_CALL ScAccessiblePreviewTable::getImplementationId()
 
 OUString ScAccessiblePreviewTable::createAccessibleDescription()
 {
-    return OUString(STR_ACC_TABLE_DESCR);
+    return STR_ACC_TABLE_DESCR;
 }
 
 OUString ScAccessiblePreviewTable::createAccessibleName()
diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
index 2381383d4f67..c74e31740a01 100644
--- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
+++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
@@ -1253,7 +1253,7 @@ void ScAccessibleSpreadsheet::AddMarkedRange(const ScRange& rRange)
 
 OUString SAL_CALL ScAccessibleSpreadsheet::getImplementationName()
 {
-    return OUString("ScAccessibleSpreadsheet");
+    return "ScAccessibleSpreadsheet";
 }
 
 uno::Sequence< OUString> SAL_CALL
diff --git a/sc/source/ui/Accessibility/AccessibleTableBase.cxx b/sc/source/ui/Accessibility/AccessibleTableBase.cxx
index 2f0ebf129342..f66e1fea8b4d 100644
--- a/sc/source/ui/Accessibility/AccessibleTableBase.cxx
+++ b/sc/source/ui/Accessibility/AccessibleTableBase.cxx
@@ -342,7 +342,7 @@ uno::Reference< XAccessible > SAL_CALL
 OUString
     ScAccessibleTableBase::createAccessibleDescription()
 {
-    return OUString(STR_ACC_TABLE_DESCR);
+    return STR_ACC_TABLE_DESCR;
 }
 
 OUString ScAccessibleTableBase::createAccessibleName()
@@ -414,7 +414,7 @@ void SAL_CALL ScAccessibleTableBase::deselectAccessibleChild( sal_Int32 /* nSele
 
 OUString SAL_CALL ScAccessibleTableBase::getImplementationName()
 {
-    return OUString("ScAccessibleTableBase");
+    return "ScAccessibleTableBase";
 }
 
     //=====  XTypeProvider  ===================================================
diff --git a/sc/source/ui/StatisticsDialogs/CorrelationDialog.cxx b/sc/source/ui/StatisticsDialogs/CorrelationDialog.cxx
index 6ac135d33b43..e0bde397dd8e 100644
--- a/sc/source/ui/StatisticsDialogs/CorrelationDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/CorrelationDialog.cxx
@@ -33,7 +33,7 @@ const OUString ScCorrelationDialog::getLabel()
 
 const OUString ScCorrelationDialog::getTemplate()
 {
-    return OUString("=CORREL(%VAR1%; %VAR2%)");
+    return "=CORREL(%VAR1%; %VAR2%)";
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx b/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx
index f447b89d0c93..6debc46e22a4 100644
--- a/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx
@@ -38,7 +38,7 @@ const OUString ScCovarianceDialog::getLabel()
 
 const OUString ScCovarianceDialog::getTemplate()
 {
-    return OUString("=COVAR(%VAR1%; %VAR2%)");
+    return "=COVAR(%VAR1%; %VAR2%)";
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/condformat/condformathelper.cxx b/sc/source/ui/condformat/condformathelper.cxx
index 2ab5d955db15..dc40f5464803 100644
--- a/sc/source/ui/condformat/condformathelper.cxx
+++ b/sc/source/ui/condformat/condformathelper.cxx
@@ -43,17 +43,17 @@ OUString getExpression(sal_Int32 nIndex)
     switch(nIndex)
     {
         case 0:
-            return OUString("=");
+            return "=";
         case 1:
-            return OUString("<");
+            return "<";
         case 2:
-            return OUString(">");
+            return ">";
         case 3:
-            return OUString("<=");
+            return "<=";
         case 4:
-            return OUString(">=");
+            return ">=";
         case 5:
-            return OUString("!=");
+            return "!=";
         case 6:
             return ScResId(STR_COND_BETWEEN);
         case 7:
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 4d4872840151..ad8d664dd690 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -2660,37 +2660,37 @@ bool ScDocShell::PrepareClose( bool bUI )
 
 OUString ScDocShell::GetOwnFilterName()
 {
-    return OUString(pFilterSc50);
+    return pFilterSc50;
 }
 
 OUString ScDocShell::GetHtmlFilterName()
 {
-    return OUString(pFilterHtml);
+    return pFilterHtml;
 }
 
 OUString ScDocShell::GetWebQueryFilterName()
 {
-    return OUString(pFilterHtmlWebQ);
+    return pFilterHtmlWebQ;
 }
 
 OUString ScDocShell::GetAsciiFilterName()
 {
-    return OUString(pFilterAscii);
+    return pFilterAscii;
 }
 
 OUString ScDocShell::GetLotusFilterName()
 {
-    return OUString(pFilterLotus);
+    return pFilterLotus;
 }
 
 OUString ScDocShell::GetDBaseFilterName()
 {
-    return OUString(pFilterDBase);
+    return pFilterDBase;
 }
 
 OUString ScDocShell::GetDifFilterName()
 {
-    return OUString(pFilterDif);
+    return pFilterDif;
 }
 
 bool ScDocShell::HasAutomaticTableName( const OUString& rFilter )
diff --git a/sc/source/ui/docshell/externalrefmgr.cxx b/sc/source/ui/docshell/externalrefmgr.cxx
index a8ec82b233dc..df5f1a86920c 100644
--- a/sc/source/ui/docshell/externalrefmgr.cxx
+++ b/sc/source/ui/docshell/externalrefmgr.cxx
@@ -2663,7 +2663,7 @@ void ScExternalRefManager::maybeCreateRealFileName(sal_uInt16 nFileId)
 OUString ScExternalRefManager::getOwnDocumentName() const
 {
     if (utl::ConfigManager::IsFuzzing())
-        return OUString("file:///tmp/document");
+        return "file:///tmp/document";
 
     SfxObjectShell* pShell = mpDoc->GetDocumentShell();
     if (!pShell)
diff --git a/sc/source/ui/sidebar/ScPanelFactory.cxx b/sc/source/ui/sidebar/ScPanelFactory.cxx
index cda3275e19a9..7257b5b07972 100644
--- a/sc/source/ui/sidebar/ScPanelFactory.cxx
+++ b/sc/source/ui/sidebar/ScPanelFactory.cxx
@@ -118,7 +118,7 @@ Reference<ui::XUIElement> SAL_CALL ScPanelFactory::createUIElement (
 
 OUString ScPanelFactory::getImplementationName()
 {
-    return OUString("org.apache.openoffice.comp.sc.sidebar.ScPanelFactory");
+    return "org.apache.openoffice.comp.sc.sidebar.ScPanelFactory";
 }
 
 sal_Bool ScPanelFactory::supportsService(OUString const & ServiceName)
diff --git a/sc/source/ui/uitest/uiobject.cxx b/sc/source/ui/uitest/uiobject.cxx
index 8dabece8053e..d606e67cd4bc 100644
--- a/sc/source/ui/uitest/uiobject.cxx
+++ b/sc/source/ui/uitest/uiobject.cxx
@@ -271,7 +271,7 @@ std::unique_ptr<UIObject> ScGridWinUIObject::create(vcl::Window* pWindow)
 
 OUString ScGridWinUIObject::get_name() const
 {
-    return OUString("ScGridWinUIObject");
+    return "ScGridWinUIObject";
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/unoobj/addruno.cxx b/sc/source/ui/unoobj/addruno.cxx
index 8878b33ea25a..012e68f4b884 100644
--- a/sc/source/ui/unoobj/addruno.cxx
+++ b/sc/source/ui/unoobj/addruno.cxx
@@ -281,7 +281,7 @@ SC_IMPL_DUMMY_PROPERTY_LISTENER( ScAddressConversionObj )
 
 OUString SAL_CALL ScAddressConversionObj::getImplementationName()
 {
-    return OUString("ScAddressConversionObj" );
+    return "ScAddressConversionObj";
 }
 
 sal_Bool SAL_CALL ScAddressConversionObj::supportsService( const OUString& rServiceName )
diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx
index 1f14265e5a2b..6cddcc87988b 100644
--- a/sc/source/ui/unoobj/appluno.cxx
+++ b/sc/source/ui/unoobj/appluno.cxx
@@ -190,7 +190,7 @@ uno::Reference<uno::XInterface> ScSpreadsheetSettings_CreateInstance(
 
 OUString ScSpreadsheetSettings::getImplementationName_Static()
 {
-    return OUString( "stardiv.StarCalc.ScSpreadsheetSettings" );
+    return "stardiv.StarCalc.ScSpreadsheetSettings";
 }
 
 uno::Sequence<OUString> ScSpreadsheetSettings::getSupportedServiceNames_Static()
diff --git a/sc/source/ui/unoobj/celllistsource.cxx b/sc/source/ui/unoobj/celllistsource.cxx
index 325500be6285..dde68149c511 100644
--- a/sc/source/ui/unoobj/celllistsource.cxx
+++ b/sc/source/ui/unoobj/celllistsource.cxx
@@ -137,7 +137,7 @@ namespace calc
 
     OUString SAL_CALL OCellListSource::getImplementationName(  )
     {
-        return OUString( "com.sun.star.comp.sheet.OCellListSource" );
+        return "com.sun.star.comp.sheet.OCellListSource";
     }
 
     sal_Bool SAL_CALL OCellListSource::supportsService( const OUString& _rServiceName )
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 70192a2b0da6..3301ddc2fcf5 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -4621,7 +4621,7 @@ sal_Bool SAL_CALL ScCellRangesObj::hasElements()
 // XServiceInfo
 OUString SAL_CALL ScCellRangesObj::getImplementationName()
 {
-    return OUString( "ScCellRangesObj" );
+    return "ScCellRangesObj";
 }
 
 sal_Bool SAL_CALL ScCellRangesObj::supportsService( const OUString& rServiceName )
@@ -5839,7 +5839,7 @@ const SfxItemPropertyMap& ScCellRangeObj::GetItemPropertyMap()
 
 OUString SAL_CALL ScCellRangeObj::getImplementationName()
 {
-    return OUString( "ScCellRangeObj" );
+    return "ScCellRangeObj";
 }
 
 sal_Bool SAL_CALL ScCellRangeObj::supportsService( const OUString& rServiceName )
@@ -6539,7 +6539,7 @@ const SfxItemPropertyMap& ScCellObj::GetItemPropertyMap()
 
 OUString SAL_CALL ScCellObj::getImplementationName()
 {
-    return OUString( "ScCellObj" );
+    return "ScCellObj";
 }
 
 sal_Bool SAL_CALL ScCellObj::supportsService( const OUString& rServiceName )
@@ -8367,7 +8367,7 @@ const SfxItemPropertyMap& ScTableSheetObj::GetItemPropertyMap()
 
 OUString SAL_CALL ScTableSheetObj::getImplementationName()
 {
-    return OUString( "ScTableSheetObj" );
+    return "ScTableSheetObj";
 }
 
 sal_Bool SAL_CALL ScTableSheetObj::supportsService( const OUString& rServiceName )
diff --git a/sc/source/ui/unoobj/cellvaluebinding.cxx b/sc/source/ui/unoobj/cellvaluebinding.cxx
index 0ac76f797afa..6a33f492e535 100644
--- a/sc/source/ui/unoobj/cellvaluebinding.cxx
+++ b/sc/source/ui/unoobj/cellvaluebinding.cxx
@@ -417,7 +417,7 @@ namespace calc
 
     OUString SAL_CALL OCellValueBinding::getImplementationName(  )
     {
-        return OUString( "com.sun.star.comp.sheet.OCellValueBinding" );
+        return "com.sun.star.comp.sheet.OCellValueBinding";
     }
 
     sal_Bool SAL_CALL OCellValueBinding::supportsService( const OUString& _rServiceName )
diff --git a/sc/source/ui/unoobj/confuno.cxx b/sc/source/ui/unoobj/confuno.cxx
index d13cdda3e4df..a168afccdd4f 100644
--- a/sc/source/ui/unoobj/confuno.cxx
+++ b/sc/source/ui/unoobj/confuno.cxx
@@ -620,7 +620,7 @@ SC_IMPL_DUMMY_PROPERTY_LISTENER( ScDocumentConfiguration )
 // XServiceInfo
 OUString SAL_CALL ScDocumentConfiguration::getImplementationName()
 {
-    return OUString( "ScDocumentConfiguration" );
+    return "ScDocumentConfiguration";
 }
 
 sal_Bool SAL_CALL ScDocumentConfiguration::supportsService( const OUString& rServiceName )
diff --git a/sc/source/ui/unoobj/cursuno.cxx b/sc/source/ui/unoobj/cursuno.cxx
index 1ee52e13f428..0839e754e69d 100644
--- a/sc/source/ui/unoobj/cursuno.cxx
+++ b/sc/source/ui/unoobj/cursuno.cxx
@@ -429,7 +429,7 @@ uno::Reference<table::XCellRange> SAL_CALL ScCellCursorObj::getCellRangeByName(
 
 OUString SAL_CALL ScCellCursorObj::getImplementationName()
 {
-    return OUString( "ScCellCursorObj" );
+    return "ScCellCursorObj";
 }
 
 sal_Bool SAL_CALL ScCellCursorObj::supportsService( const OUString& rServiceName )
diff --git a/sc/source/ui/unoobj/datauno.cxx b/sc/source/ui/unoobj/datauno.cxx
index e88e61670442..f7f8d30dbc8c 100644
--- a/sc/source/ui/unoobj/datauno.cxx
+++ b/sc/source/ui/unoobj/datauno.cxx
@@ -2075,7 +2075,7 @@ SC_IMPL_DUMMY_PROPERTY_LISTENER( ScDatabaseRangeObj )
 // XServiceInfo
 OUString SAL_CALL ScDatabaseRangeObj::getImplementationName()
 {
-    return OUString( "ScDatabaseRangeObj" );
+    return "ScDatabaseRangeObj";
 }
 
 sal_Bool SAL_CALL ScDatabaseRangeObj::supportsService( const OUString& rServiceName )
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index b67e776bc8a2..9c7f24611cf5 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -2845,7 +2845,7 @@ uno::Sequence<OUString> SAL_CALL ScModelObj::getAvailableServiceNames()
 // XServiceInfo
 OUString SAL_CALL ScModelObj::getImplementationName()
 {
-    return OUString( "ScModelObj" );
+    return "ScModelObj";
     /* // Matching the .component information:
        return OUString( "com.sun.star.comp.Calc.SpreadsheetDocument" );
     */
diff --git a/sc/source/ui/unoobj/exceldetect.cxx b/sc/source/ui/unoobj/exceldetect.cxx
index 176e0997ab23..77270cc2b85a 100644
--- a/sc/source/ui/unoobj/exceldetect.cxx
+++ b/sc/source/ui/unoobj/exceldetect.cxx
@@ -27,7 +27,7 @@ ScExcelBiffDetect::~ScExcelBiffDetect() {}
 
 OUString ScExcelBiffDetect::getImplementationName()
 {
-    return OUString("com.sun.star.comp.calc.ExcelBiffFormatDetector");
+    return "com.sun.star.comp.calc.ExcelBiffFormatDetector";
 }
 
 sal_Bool ScExcelBiffDetect::supportsService( const OUString& aName )
diff --git a/sc/source/ui/unoobj/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx
index 8ee9d4374ee0..aa6b1b5c32bb 100644
--- a/sc/source/ui/unoobj/fielduno.cxx
+++ b/sc/source/ui/unoobj/fielduno.cxx
@@ -1286,7 +1286,7 @@ UNO3_GETIMPLEMENTATION_IMPL(ScEditFieldObj);
 
 OUString SAL_CALL ScEditFieldObj::getImplementationName()
 {
-    return OUString("ScEditFieldObj");
+    return "ScEditFieldObj";
 }
 
 sal_Bool SAL_CALL ScEditFieldObj::supportsService( const OUString& rServiceName )
diff --git a/sc/source/ui/unoobj/funcuno.cxx b/sc/source/ui/unoobj/funcuno.cxx
index 280fd1b868d2..2e7a7cd3b86a 100644
--- a/sc/source/ui/unoobj/funcuno.cxx
+++ b/sc/source/ui/unoobj/funcuno.cxx
@@ -204,7 +204,7 @@ ScFunctionAcceess_get_implementation(css::uno::XComponentContext*, css::uno::Seq
 // XServiceInfo
 OUString SAL_CALL ScFunctionAccess::getImplementationName()
 {
-    return OUString("stardiv.StarCalc.ScFunctionAccess");
+    return "stardiv.StarCalc.ScFunctionAccess";
 }
 
 sal_Bool SAL_CALL ScFunctionAccess::supportsService( const OUString& rServiceName )
diff --git a/sc/source/ui/unoobj/miscuno.cxx b/sc/source/ui/unoobj/miscuno.cxx
index 28765aba1e60..6adcac3b01cc 100644
--- a/sc/source/ui/unoobj/miscuno.cxx
+++ b/sc/source/ui/unoobj/miscuno.cxx
@@ -217,7 +217,7 @@ uno::Any SAL_CALL ScIndexEnumeration::nextElement()
 
 OUString SAL_CALL ScIndexEnumeration::getImplementationName()
 {
-    return OUString("ScIndexEnumeration");
+    return "ScIndexEnumeration";
 }
 
 sal_Bool SAL_CALL ScIndexEnumeration::supportsService( const OUString& ServiceName )
diff --git a/sc/source/ui/unoobj/nameuno.cxx b/sc/source/ui/unoobj/nameuno.cxx
index 07a7162e1280..e2fb3da5b154 100644
--- a/sc/source/ui/unoobj/nameuno.cxx
+++ b/sc/source/ui/unoobj/nameuno.cxx
@@ -408,7 +408,7 @@ SC_IMPL_DUMMY_PROPERTY_LISTENER( ScNamedRangeObj )
 
 OUString SAL_CALL ScNamedRangeObj::getImplementationName()
 {
-    return OUString( "ScNamedRangeObj" );
+    return "ScNamedRangeObj";
 }
 
 sal_Bool SAL_CALL ScNamedRangeObj::supportsService( const OUString& rServiceName )
diff --git a/sc/source/ui/unoobj/pageuno.cxx b/sc/source/ui/unoobj/pageuno.cxx
index 74f06d8f40b0..3455537ff149 100644
--- a/sc/source/ui/unoobj/pageuno.cxx
+++ b/sc/source/ui/unoobj/pageuno.cxx
@@ -44,7 +44,7 @@ uno::Reference<drawing::XShape > ScPageObj::CreateShape( SdrObject *pObj ) const
 
 OUString SAL_CALL ScPageObj::getImplementationName()
 {
-    return OUString("ScPageObj");
+    return "ScPageObj";
 }
 
 sal_Bool SAL_CALL ScPageObj::supportsService( const OUString& rServiceName )
diff --git a/sc/source/ui/unoobj/scdetect.cxx b/sc/source/ui/unoobj/scdetect.cxx
index 2fb761d35ae0..711457f791f1 100644
--- a/sc/source/ui/unoobj/scdetect.cxx
+++ b/sc/source/ui/unoobj/scdetect.cxx
@@ -330,7 +330,7 @@ OUString SAL_CALL ScFilterDetect::detect( uno::Sequence<beans::PropertyValue>& l
 
 OUString SAL_CALL ScFilterDetect::getImplementationName()
 {
-    return OUString("com.sun.star.comp.calc.FormatDetector");
+    return "com.sun.star.comp.calc.FormatDetector";
 }
 
 sal_Bool ScFilterDetect::supportsService( const OUString& sServiceName )
diff --git a/sc/source/ui/unoobj/shapeuno.cxx b/sc/source/ui/unoobj/shapeuno.cxx
index 5f7c4b23ded4..8795d104956c 100644
--- a/sc/source/ui/unoobj/shapeuno.cxx
+++ b/sc/source/ui/unoobj/shapeuno.cxx
@@ -1427,7 +1427,7 @@ ScShapeObj::getEvents(  )
 
 OUString SAL_CALL ScShapeObj::getImplementationName(  )
 {
-    return OUString( "com.sun.star.comp.sc.ScShapeObj" );
+    return "com.sun.star.comp.sc.ScShapeObj";
 }
 
 sal_Bool SAL_CALL ScShapeObj::supportsService( const OUString& ServiceName )
diff --git a/sc/source/ui/unoobj/srchuno.cxx b/sc/source/ui/unoobj/srchuno.cxx
index 40d60667a0cb..c7fc844338be 100644
--- a/sc/source/ui/unoobj/srchuno.cxx
+++ b/sc/source/ui/unoobj/srchuno.cxx
@@ -177,7 +177,7 @@ SC_IMPL_DUMMY_PROPERTY_LISTENER( ScCellSearchObj )
 
 OUString SAL_CALL ScCellSearchObj::getImplementationName()
 {
-    return OUString( "ScCellSearchObj" );
+    return "ScCellSearchObj";
 }
 
 sal_Bool SAL_CALL ScCellSearchObj::supportsService( const OUString& rServiceName )
diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx
index ec6a9424cf4c..267834ea371d 100644
--- a/sc/source/ui/unoobj/styleuno.cxx
+++ b/sc/source/ui/unoobj/styleuno.cxx
@@ -1904,7 +1904,7 @@ SC_IMPL_DUMMY_PROPERTY_LISTENER( ScStyleObj )
 
 OUString SAL_CALL ScStyleObj::getImplementationName()
 {
-    return OUString("ScStyleObj" );
+    return "ScStyleObj";
 }
 
 sal_Bool SAL_CALL ScStyleObj::supportsService( const OUString& rServiceName )
diff --git a/sc/source/ui/unoobj/unodoc.cxx b/sc/source/ui/unoobj/unodoc.cxx
index 7f1dd082ebb7..085d8d9595f3 100644
--- a/sc/source/ui/unoobj/unodoc.cxx
+++ b/sc/source/ui/unoobj/unodoc.cxx
@@ -31,7 +31,7 @@ using namespace ::com::sun::star;
 
 OUString ScDocument_getImplementationName() throw()
 {
-    return OUString( "com.sun.star.comp.Calc.SpreadsheetDocument" );
+    return "com.sun.star.comp.Calc.SpreadsheetDocument";
 }
 
 uno::Sequence< OUString > ScDocument_getSupportedServiceNames() throw()
diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx
index 7bc677fdbfb8..29e788241981 100644
--- a/sc/source/ui/unoobj/viewuno.cxx
+++ b/sc/source/ui/unoobj/viewuno.cxx
@@ -2044,7 +2044,7 @@ void ScTabViewObj::RangeSelChanged( const OUString& rText )
 // XServiceInfo
 OUString SAL_CALL ScTabViewObj::getImplementationName()
 {
-    return OUString( "ScTabViewObj" );
+    return "ScTabViewObj";
 }
 
 sal_Bool SAL_CALL ScTabViewObj::supportsService( const OUString& rServiceName )
diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx
index d6e0162c0aef..8cb8c7481146 100644
--- a/sc/source/ui/vba/vbaapplication.cxx
+++ b/sc/source/ui/vba/vbaapplication.cxx
@@ -742,7 +742,7 @@ ScVbaApplication::setCursor( sal_Int32 _cursor )
 OUString SAL_CALL
 ScVbaApplication::getName()
 {
-    return OUString("Microsoft Excel" );
+    return "Microsoft Excel";
 }
 
 // #TODO #FIXME get/setDisplayAlerts are just stub impl
@@ -974,7 +974,7 @@ ScVbaApplication::getOperatingSystem()
         return OUString("Macintosh");
 #elif defined(UNX)
         // M. Office is not available on Unix systems, so it is not documented.
-        return OUString("Unix");
+        return "Unix";
 #else
         return OUString("Unknown");
 #endif
@@ -1419,7 +1419,7 @@ void SAL_CALL ScVbaApplication::Undo()
 OUString SAL_CALL
 ScVbaApplication::getIID()
 {
-    return OUString("{82154425-0FBF-11d4-8313-005004526AB4}");
+    return "{82154425-0FBF-11d4-8313-005004526AB4}";
 }
 
 // XConnectable
@@ -1427,7 +1427,7 @@ ScVbaApplication::getIID()
 OUString SAL_CALL
 ScVbaApplication::GetIIDForClassItselfNotCoclass()
 {
-    return OUString("{82154426-0FBF-11D4-8313-005004526AB4}");
+    return "{82154426-0FBF-11D4-8313-005004526AB4}";
 }
 
 TypeAndIID SAL_CALL
@@ -1463,7 +1463,7 @@ ScVbaApplication::CallSinks( const OUString& Method, uno::Sequence< uno::Any >&
 OUString
 ScVbaApplication::getServiceImplName()
 {
-    return OUString("ScVbaApplication");
+    return "ScVbaApplication";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbaassistant.cxx b/sc/source/ui/vba/vbaassistant.cxx
index 11a370e6a5c6..25da8eee15eb 100644
--- a/sc/source/ui/vba/vbaassistant.cxx
+++ b/sc/source/ui/vba/vbaassistant.cxx
@@ -100,7 +100,7 @@ ScVbaAssistant::Name(  )
 OUString
 ScVbaAssistant::getServiceImplName()
 {
-    return OUString("ScVbaAssistant");
+    return "ScVbaAssistant";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbaaxes.cxx b/sc/source/ui/vba/vbaaxes.cxx
index ee93fe2c4700..6a750f7656b6 100644
--- a/sc/source/ui/vba/vbaaxes.cxx
+++ b/sc/source/ui/vba/vbaaxes.cxx
@@ -195,7 +195,7 @@ ScVbaAxes::createCollectionObject(const css::uno::Any& aSource)
 OUString
 ScVbaAxes::getServiceImplName()
 {
-    return OUString("ScVbaAxes");
+    return "ScVbaAxes";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbaaxis.cxx b/sc/source/ui/vba/vbaaxis.cxx
index 01e04725c350..f50b04a57e7e 100644
--- a/sc/source/ui/vba/vbaaxis.cxx
+++ b/sc/source/ui/vba/vbaaxis.cxx
@@ -640,7 +640,7 @@ void SAL_CALL ScVbaAxis::setLeft( double left )
 OUString
 ScVbaAxis::getServiceImplName()
 {
-    return OUString("ScVbaAxis");
+    return "ScVbaAxis";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbaaxistitle.cxx b/sc/source/ui/vba/vbaaxistitle.cxx
index 9029c2dbac50..5336ef7a763f 100644
--- a/sc/source/ui/vba/vbaaxistitle.cxx
+++ b/sc/source/ui/vba/vbaaxistitle.cxx
@@ -29,7 +29,7 @@ ScVbaAxisTitle::ScVbaAxisTitle( const uno::Reference< XHelperInterface >& xParen
 OUString
 ScVbaAxisTitle::getServiceImplName()
 {
-    return OUString("ScVbaAxisTitle");
+    return "ScVbaAxisTitle";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbaborders.cxx b/sc/source/ui/vba/vbaborders.cxx
index 73d0d8016409..7061bb6733ef 100644
--- a/sc/source/ui/vba/vbaborders.cxx
+++ b/sc/source/ui/vba/vbaborders.cxx
@@ -144,7 +144,7 @@ private:
 protected:
     virtual OUString getServiceImplName() override
     {
-        return OUString("ScVbaBorder");
+        return "ScVbaBorder";
     }
     virtual css::uno::Sequence<OUString> getServiceNames() override
     {
@@ -566,7 +566,7 @@ void SAL_CALL ScVbaBorders::setWeight( const uno::Any& _weight )
 OUString
 ScVbaBorders::getServiceImplName()
 {
-    return OUString("ScVbaBorders");
+    return "ScVbaBorders";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbacharacters.cxx b/sc/source/ui/vba/vbacharacters.cxx
index d9a705014b47..cb1fdd8fdae1 100644
--- a/sc/source/ui/vba/vbacharacters.cxx
+++ b/sc/source/ui/vba/vbacharacters.cxx
@@ -118,7 +118,7 @@ ScVbaCharacters::Delete(  )
 OUString
 ScVbaCharacters::getServiceImplName()
 {
-    return OUString("ScVbaCharacters");
+    return "ScVbaCharacters";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbachart.cxx b/sc/source/ui/vba/vbachart.cxx
index d6727d73aa7a..9ed6ce0628dc 100644
--- a/sc/source/ui/vba/vbachart.cxx
+++ b/sc/source/ui/vba/vbachart.cxx
@@ -1046,7 +1046,7 @@ ScVbaChart::getAxisPropertySet(sal_Int32 _nAxisType, sal_Int32 _nAxisGroup)
 OUString
 ScVbaChart::getServiceImplName()
 {
-    return OUString("ScVbaChart");
+    return "ScVbaChart";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbachartobject.cxx b/sc/source/ui/vba/vbachartobject.cxx
index d687416b4c4a..424143b27e07 100644
--- a/sc/source/ui/vba/vbachartobject.cxx
+++ b/sc/source/ui/vba/vbachartobject.cxx
@@ -131,7 +131,7 @@ ScVbaChartObject::getChart()
 OUString
 ScVbaChartObject::getServiceImplName()
 {
-    return OUString("ScVbaChartObject");
+    return "ScVbaChartObject";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbachartobjects.cxx b/sc/source/ui/vba/vbachartobjects.cxx
index 5863b36ec65f..8667f8fab55e 100644
--- a/sc/source/ui/vba/vbachartobjects.cxx
+++ b/sc/source/ui/vba/vbachartobjects.cxx
@@ -188,7 +188,7 @@ ScVbaChartObjects::createCollectionObject( const css::uno::Any& aSource )
 OUString
 ScVbaChartObjects::getServiceImplName()
 {
-    return OUString("ScVbaChartObjects");
+    return "ScVbaChartObjects";
 }
 
 css::uno::Sequence<OUString>
diff --git a/sc/source/ui/vba/vbacharttitle.cxx b/sc/source/ui/vba/vbacharttitle.cxx
index cf49708a9ce8..2e881fd61919 100644
--- a/sc/source/ui/vba/vbacharttitle.cxx
+++ b/sc/source/ui/vba/vbacharttitle.cxx
@@ -29,7 +29,7 @@ ScVbaChartTitle::ScVbaChartTitle( const uno::Reference< XHelperInterface >& xPar
 OUString
 ScVbaChartTitle::getServiceImplName()
 {
-    return OUString("ScVbaChartTitle");
+    return "ScVbaChartTitle";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbacomment.cxx b/sc/source/ui/vba/vbacomment.cxx
index 348ecf7b0006..12b7b012ba84 100644
--- a/sc/source/ui/vba/vbacomment.cxx
+++ b/sc/source/ui/vba/vbacomment.cxx
@@ -218,7 +218,7 @@ ScVbaComment::Text( const uno::Any& aText, const uno::Any& aStart, const uno::An
 OUString
 ScVbaComment::getServiceImplName()
 {
-    return OUString("ScVbaComment");
+    return "ScVbaComment";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbacomments.cxx b/sc/source/ui/vba/vbacomments.cxx
index 7dec20724383..a1b2001c522a 100644
--- a/sc/source/ui/vba/vbacomments.cxx
+++ b/sc/source/ui/vba/vbacomments.cxx
@@ -93,7 +93,7 @@ ScVbaComments::getElementType()
 OUString
 ScVbaComments::getServiceImplName()
 {
-    return OUString("ScVbaComments");
+    return "ScVbaComments";
 }
 
 css::uno::Sequence<OUString>
diff --git a/sc/source/ui/vba/vbadialog.cxx b/sc/source/ui/vba/vbadialog.cxx
index 316f714ed494..d3e47a289cc1 100644
--- a/sc/source/ui/vba/vbadialog.cxx
+++ b/sc/source/ui/vba/vbadialog.cxx
@@ -65,7 +65,7 @@ ScVbaDialog::mapIndexToName( sal_Int32 nIndex )
 OUString
 ScVbaDialog::getServiceImplName()
 {
-    return OUString("ScVbaDialog");
+    return "ScVbaDialog";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbadialogs.cxx b/sc/source/ui/vba/vbadialogs.cxx
index 5d2a388338c1..9264728a282b 100644
--- a/sc/source/ui/vba/vbadialogs.cxx
+++ b/sc/source/ui/vba/vbadialogs.cxx
@@ -35,7 +35,7 @@ ScVbaDialogs::Item( const uno::Any &aItem )
 OUString
 ScVbaDialogs::getServiceImplName()
 {
-    return OUString("ScVbaDialogs");
+    return "ScVbaDialogs";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbaeventshelper.cxx b/sc/source/ui/vba/vbaeventshelper.cxx
index a8a0ea59865e..251843efaea6 100644
--- a/sc/source/ui/vba/vbaeventshelper.cxx
+++ b/sc/source/ui/vba/vbaeventshelper.cxx
@@ -629,7 +629,7 @@ void SAL_CALL ScVbaEventsHelper::notifyEvent( const css::document::EventObject&
 
 OUString ScVbaEventsHelper::getImplementationName()
 {
-    return OUString("ScVbaEventsHelper");
+    return "ScVbaEventsHelper";
 }
 
 css::uno::Sequence<OUString> ScVbaEventsHelper::getSupportedServiceNames()
diff --git a/sc/source/ui/vba/vbafiledialog.cxx b/sc/source/ui/vba/vbafiledialog.cxx
index 2842b87efb57..40a4d6246e29 100644
--- a/sc/source/ui/vba/vbafiledialog.cxx
+++ b/sc/source/ui/vba/vbafiledialog.cxx
@@ -146,7 +146,7 @@ sal_Int32 ScVbaFileDialog::Show()
 OUString
 ScVbaFileDialog::getServiceImplName()
 {
-    return OUString("ScVbaFileDialog");
+    return "ScVbaFileDialog";
 }
 
 uno::Sequence<OUString>
diff --git a/sc/source/ui/vba/vbafiledialogitems.cxx b/sc/source/ui/vba/vbafiledialogitems.cxx
index 03fe61d71924..66d6ea976b2a 100644
--- a/sc/source/ui/vba/vbafiledialogitems.cxx
+++ b/sc/source/ui/vba/vbafiledialogitems.cxx
@@ -100,7 +100,7 @@ sal_Int32 ScVbaFileDialogSelectedItems::getCount()
 OUString
 ScVbaFileDialogSelectedItems::getServiceImplName()
 {
-    return OUString("ScVbaFileDialogSelectedItems");
+    return "ScVbaFileDialogSelectedItems";
 }
 
 uno::Sequence<OUString>
diff --git a/sc/source/ui/vba/vbafont.cxx b/sc/source/ui/vba/vbafont.cxx
index 5dc152b112f3..2c7b4185b604 100644
--- a/sc/source/ui/vba/vbafont.cxx
+++ b/sc/source/ui/vba/vbafont.cxx
@@ -313,7 +313,7 @@ ScVbaFont::getOutlineFont()
 OUString
 ScVbaFont::getServiceImplName()
 {
-    return OUString("ScVbaFont");
+    return "ScVbaFont";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbaformatcondition.cxx b/sc/source/ui/vba/vbaformatcondition.cxx
index 51390e200369..645d6e5f598f 100644
--- a/sc/source/ui/vba/vbaformatcondition.cxx
+++ b/sc/source/ui/vba/vbaformatcondition.cxx
@@ -141,7 +141,7 @@ ScVbaFormatCondition::notifyRange()
 OUString
 ScVbaFormatCondition::getServiceImplName()
 {
-    return OUString("ScVbaFormatCondition");
+    return "ScVbaFormatCondition";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbaformatconditions.cxx b/sc/source/ui/vba/vbaformatconditions.cxx
index c588c57fbc9e..d53f4c33d04c 100644
--- a/sc/source/ui/vba/vbaformatconditions.cxx
+++ b/sc/source/ui/vba/vbaformatconditions.cxx
@@ -273,7 +273,7 @@ ScVbaFormatConditions::removeFormatCondition( const OUString& _sStyleName, bool
 OUString
 ScVbaFormatConditions::getServiceImplName()
 {
-    return OUString("ScVbaFormatConditions");
+    return "ScVbaFormatConditions";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbaglobals.cxx b/sc/source/ui/vba/vbaglobals.cxx
index 03bf8685f00b..86b1332b6709 100644
--- a/sc/source/ui/vba/vbaglobals.cxx
+++ b/sc/source/ui/vba/vbaglobals.cxx
@@ -240,7 +240,7 @@ ScVbaGlobals::getAvailableServiceNames(  )
 OUString
 ScVbaGlobals::getServiceImplName()
 {
-    return OUString("ScVbaGlobals");
+    return "ScVbaGlobals";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbainterior.cxx b/sc/source/ui/vba/vbainterior.cxx
index d8816a526758..1dee1070077f 100644
--- a/sc/source/ui/vba/vbainterior.cxx
+++ b/sc/source/ui/vba/vbainterior.cxx
@@ -403,7 +403,7 @@ void SAL_CALL ScVbaInterior::setPatternTintAndShade(const uno::Any& /*rAny*/)
 OUString
 ScVbaInterior::getServiceImplName()
 {
-    return OUString("ScVbaInterior");
+    return "ScVbaInterior";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbamenu.cxx b/sc/source/ui/vba/vbamenu.cxx
index dc9c663521fd..8bfa966b89a6 100644
--- a/sc/source/ui/vba/vbamenu.cxx
+++ b/sc/source/ui/vba/vbamenu.cxx
@@ -51,7 +51,7 @@ ScVbaMenu::MenuItems( const uno::Any& aIndex )
 OUString
 ScVbaMenu::getServiceImplName()
 {
-    return OUString("ScVbaMenu");
+    return "ScVbaMenu";
 }
 
 uno::Sequence<OUString>
diff --git a/sc/source/ui/vba/vbamenubar.cxx b/sc/source/ui/vba/vbamenubar.cxx
index 2812ec753c5a..f8f7f5665233 100644
--- a/sc/source/ui/vba/vbamenubar.cxx
+++ b/sc/source/ui/vba/vbamenubar.cxx
@@ -32,7 +32,7 @@ ScVbaMenuBar::Menus( const uno::Any& aIndex )
 OUString
 ScVbaMenuBar::getServiceImplName()
 {
-    return OUString("ScVbaMenuBar");
+    return "ScVbaMenuBar";
 }
 
 uno::Sequence<OUString>
diff --git a/sc/source/ui/vba/vbamenubars.cxx b/sc/source/ui/vba/vbamenubars.cxx
index 50d649717bb2..c521cf562920 100644
--- a/sc/source/ui/vba/vbamenubars.cxx
+++ b/sc/source/ui/vba/vbamenubars.cxx
@@ -98,7 +98,7 @@ ScVbaMenuBars::Item( const uno::Any& aIndex, const uno::Any& /*aIndex2*/ )
 OUString
 ScVbaMenuBars::getServiceImplName()
 {
-    return OUString("ScVbaMenuBars");
+    return "ScVbaMenuBars";
 }
 
 uno::Sequence<OUString>
diff --git a/sc/source/ui/vba/vbamenuitem.cxx b/sc/source/ui/vba/vbamenuitem.cxx
index d38d9311946a..2dba780baee4 100644
--- a/sc/source/ui/vba/vbamenuitem.cxx
+++ b/sc/source/ui/vba/vbamenuitem.cxx
@@ -48,7 +48,7 @@ ScVbaMenuItem::Delete( )
 OUString
 ScVbaMenuItem::getServiceImplName()
 {
-    return OUString("ScVbaMenuItem");
+    return "ScVbaMenuItem";
 }
 
 uno::Sequence<OUString>
diff --git a/sc/source/ui/vba/vbamenuitems.cxx b/sc/source/ui/vba/vbamenuitems.cxx
index 10faba0d3e29..c64fefb9e6a1 100644
--- a/sc/source/ui/vba/vbamenuitems.cxx
+++ b/sc/source/ui/vba/vbamenuitems.cxx
@@ -118,7 +118,7 @@ uno::Reference< excel::XMenuItem > SAL_CALL ScVbaMenuItems::Add( const OUString&
 OUString
 ScVbaMenuItems::getServiceImplName()
 {
-    return OUString("ScVbaMenuItems");
+    return "ScVbaMenuItems";
 }
 
 uno::Sequence<OUString>
diff --git a/sc/source/ui/vba/vbamenus.cxx b/sc/source/ui/vba/vbamenus.cxx
index ba8f07d573fd..84c001d9adec 100644
--- a/sc/source/ui/vba/vbamenus.cxx
+++ b/sc/source/ui/vba/vbamenus.cxx
@@ -104,7 +104,7 @@ uno::Reference< excel::XMenu > SAL_CALL ScVbaMenus::Add( const OUString& Caption
 OUString
 ScVbaMenus::getServiceImplName()
 {
-    return OUString("ScVbaMenus");
+    return "ScVbaMenus";
 }
 
 uno::Sequence<OUString>
diff --git a/sc/source/ui/vba/vbaname.cxx b/sc/source/ui/vba/vbaname.cxx
index d480197ac2bc..6d2072f97ba5 100644
--- a/sc/source/ui/vba/vbaname.cxx
+++ b/sc/source/ui/vba/vbaname.cxx
@@ -201,7 +201,7 @@ ScVbaName::Delete()
 OUString
 ScVbaName::getServiceImplName()
 {
-    return OUString( "ScVbaName" );
+    return "ScVbaName";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbanames.cxx b/sc/source/ui/vba/vbanames.cxx
index 67f59b07a330..357067363074 100644
--- a/sc/source/ui/vba/vbanames.cxx
+++ b/sc/source/ui/vba/vbanames.cxx
@@ -238,7 +238,7 @@ ScVbaNames::createCollectionObject( const uno::Any& aSource )
 OUString
 ScVbaNames::getServiceImplName()
 {
-    return OUString( "ScVbaNames" );
+    return "ScVbaNames";
 }
 
 css::uno::Sequence<OUString>
diff --git a/sc/source/ui/vba/vbaoleobject.cxx b/sc/source/ui/vba/vbaoleobject.cxx
index 981d7be1ee79..f2cd5de40f8b 100644
--- a/sc/source/ui/vba/vbaoleobject.cxx
+++ b/sc/source/ui/vba/vbaoleobject.cxx
@@ -134,7 +134,7 @@ void SAL_CALL ScVbaOLEObject::setLinkedCell( const OUString& _linkedcell )
 OUString
 ScVbaOLEObject::getServiceImplName()
 {
-    return OUString("ScVbaOLEObject");
+    return "ScVbaOLEObject";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbaoleobjects.cxx b/sc/source/ui/vba/vbaoleobjects.cxx
index 68400f007e29..f0ddf68c82ac 100644
--- a/sc/source/ui/vba/vbaoleobjects.cxx
+++ b/sc/source/ui/vba/vbaoleobjects.cxx
@@ -168,7 +168,7 @@ ScVbaOLEObjects::getElementType()
 OUString
 ScVbaOLEObjects::getServiceImplName()
 {
-    return OUString("ScVbaOLEObjects");
+    return "ScVbaOLEObjects";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbaoutline.cxx b/sc/source/ui/vba/vbaoutline.cxx
index d9601e1be874..60bc12921b4d 100644
--- a/sc/source/ui/vba/vbaoutline.cxx
+++ b/sc/source/ui/vba/vbaoutline.cxx
@@ -42,7 +42,7 @@ ScVbaOutline::ShowLevels( const uno::Any& RowLevels, const uno::Any& ColumnLevel
 OUString
 ScVbaOutline::getServiceImplName()
 {
-    return OUString("ScVbaOutline");
+    return "ScVbaOutline";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbapagebreak.cxx b/sc/source/ui/vba/vbapagebreak.cxx
index ec3c14ce8ee6..ad7bca1265ae 100644
--- a/sc/source/ui/vba/vbapagebreak.cxx
+++ b/sc/source/ui/vba/vbapagebreak.cxx
@@ -95,7 +95,7 @@ template class ScVbaPageBreak< excel::XHPageBreak >;
 OUString
 ScVbaHPageBreak::getServiceImplName()
 {
-    return OUString("ScVbaHPageBreak");
+    return "ScVbaHPageBreak";
 }
 
 uno::Sequence< OUString >
@@ -126,7 +126,7 @@ ScVbaVPageBreak::~ScVbaVPageBreak()
 OUString
 ScVbaVPageBreak::getServiceImplName()
 {
-    return OUString("ScVbaVPageBreak");
+    return "ScVbaVPageBreak";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbapagebreaks.cxx b/sc/source/ui/vba/vbapagebreaks.cxx
index 6260d4a1ab0e..804b4b31ea98 100644
--- a/sc/source/ui/vba/vbapagebreaks.cxx
+++ b/sc/source/ui/vba/vbapagebreaks.cxx
@@ -249,7 +249,7 @@ ScVbaHPageBreaks::getElementType()
 OUString
 ScVbaHPageBreaks::getServiceImplName()
 {
-    return OUString("ScVbaHPageBreaks");
+    return "ScVbaHPageBreaks";
 }
 
 uno::Sequence< OUString >
@@ -306,7 +306,7 @@ ScVbaVPageBreaks::getElementType()
 OUString
 ScVbaVPageBreaks::getServiceImplName()
 {
-    return OUString("ScVbaVPageBreaks");
+    return "ScVbaVPageBreaks";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbapagesetup.cxx b/sc/source/ui/vba/vbapagesetup.cxx
index 035243f1d78d..f167d29e1cc5 100644
--- a/sc/source/ui/vba/vbapagesetup.cxx
+++ b/sc/source/ui/vba/vbapagesetup.cxx
@@ -616,7 +616,7 @@ void SAL_CALL ScVbaPageSetup::setPaperSize( sal_Int32 papersize )
 OUString
 ScVbaPageSetup::getServiceImplName()
 {
-    return OUString("ScVbaPageSetup");
+    return "ScVbaPageSetup";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbapivotcache.cxx b/sc/source/ui/vba/vbapivotcache.cxx
index 4ff4e36b60d6..54c6a4ad7a88 100644
--- a/sc/source/ui/vba/vbapivotcache.cxx
+++ b/sc/source/ui/vba/vbapivotcache.cxx
@@ -34,7 +34,7 @@ ScVbaPivotCache::Refresh()
 OUString
 ScVbaPivotCache::getServiceImplName()
 {
-    return OUString("ScVbaPivotCache");
+    return "ScVbaPivotCache";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbapivottable.cxx b/sc/source/ui/vba/vbapivottable.cxx
index 90c6c7a8f4a2..775ac390c0c1 100644
--- a/sc/source/ui/vba/vbapivottable.cxx
+++ b/sc/source/ui/vba/vbapivottable.cxx
@@ -37,7 +37,7 @@ ScVbaPivotTable::PivotCache()
 OUString
 ScVbaPivotTable::getServiceImplName()
 {
-    return OUString("ScVbaPivotTable");
+    return "ScVbaPivotTable";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbapivottables.cxx b/sc/source/ui/vba/vbapivottables.cxx
index b87257203f59..383faf3ee2b9 100644
--- a/sc/source/ui/vba/vbapivottables.cxx
+++ b/sc/source/ui/vba/vbapivottables.cxx
@@ -69,7 +69,7 @@ ScVbaPivotTables::getElementType()
 OUString
 ScVbaPivotTables::getServiceImplName()
 {
-    return OUString("ScVbaPivotTables");
+    return "ScVbaPivotTables";
 }
 
 css::uno::Sequence<OUString>
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 96bf107afd2e..3318f0d8e86f 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -3692,7 +3692,7 @@ ScVbaRange::createEnumeration()
 OUString SAL_CALL
 ScVbaRange::getDefaultMethodName(  )
 {
-    return OUString( "Item" );
+    return "Item";
 }
 
 // returns calc internal col. width ( in points )
@@ -5573,7 +5573,7 @@ ScVbaRange::Subtotal( ::sal_Int32 _nGroupBy, ::sal_Int32 _nFunction, const uno::
 OUString
 ScVbaRange::getServiceImplName()
 {
-    return OUString("ScVbaRange");
+    return "ScVbaRange";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbarange.hxx b/sc/source/ui/vba/vbarange.hxx
index dc2a33e8e07e..67e5220f3c1e 100644
--- a/sc/source/ui/vba/vbarange.hxx
+++ b/sc/source/ui/vba/vbarange.hxx
@@ -290,7 +290,7 @@ public:
     // XDefaultMethod
     OUString SAL_CALL getDefaultMethodName(  ) override;
         // XDefaultProperty
-        OUString SAL_CALL getDefaultPropertyName(  ) override { return OUString("Value"); }
+        OUString SAL_CALL getDefaultPropertyName(  ) override { return "Value"; }
 
 // #TODO completely rewrite ScVbaRange, it's become a hackfest
 // it needs to be closer to ScCellRangeBase in that the underlying
diff --git a/sc/source/ui/vba/vbasheetobject.cxx b/sc/source/ui/vba/vbasheetobject.cxx
index 119e111f39b1..0f3093763961 100644
--- a/sc/source/ui/vba/vbasheetobject.cxx
+++ b/sc/source/ui/vba/vbasheetobject.cxx
@@ -516,7 +516,7 @@ VBAHELPER_IMPL_XHELPERINTERFACE( ScVbaButton, "ooo.vba.excel.Button" )
 
 OUString ScVbaButton::implGetBaseName() const
 {
-    return OUString( "Button" );
+    return "Button";
 }
 
 void ScVbaButton::implSetDefaultProperties()
diff --git a/sc/source/ui/vba/vbasheetobjects.cxx b/sc/source/ui/vba/vbasheetobjects.cxx
index eb2797fcb0bb..2d8568526039 100644
--- a/sc/source/ui/vba/vbasheetobjects.cxx
+++ b/sc/source/ui/vba/vbasheetobjects.cxx
@@ -444,7 +444,7 @@ bool ScVbaControlContainer::implPickShape( const uno::Reference< drawing::XShape
 
 OUString ScVbaControlContainer::implGetShapeServiceName() const
 {
-    return OUString( "com.sun.star.drawing.ControlShape" );
+    return "com.sun.star.drawing.ControlShape";
 }
 
 bool ScVbaControlContainer::implCheckProperties( const uno::Reference< beans::XPropertySet >& /*rxModelProps*/ ) const
diff --git a/sc/source/ui/vba/vbastyle.cxx b/sc/source/ui/vba/vbastyle.cxx
index 690b731372e7..ba2d04553231 100644
--- a/sc/source/ui/vba/vbastyle.cxx
+++ b/sc/source/ui/vba/vbastyle.cxx
@@ -167,7 +167,7 @@ ScVbaStyle::getMergeCells(  )
 OUString
 ScVbaStyle::getServiceImplName()
 {
-    return OUString("ScVbaStyle");
+    return "ScVbaStyle";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbastyles.cxx b/sc/source/ui/vba/vbastyles.cxx
index fd56dfc88813..0a1e722247e1 100644
--- a/sc/source/ui/vba/vbastyles.cxx
+++ b/sc/source/ui/vba/vbastyles.cxx
@@ -183,7 +183,7 @@ ScVbaStyles::Delete(const OUString& _sStyleName)
 OUString
 ScVbaStyles::getServiceImplName()
 {
-    return OUString("ScVbaStyles");
+    return "ScVbaStyles";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbatextframe.cxx b/sc/source/ui/vba/vbatextframe.cxx
index d4da85f26521..ef797da31a7d 100644
--- a/sc/source/ui/vba/vbatextframe.cxx
+++ b/sc/source/ui/vba/vbatextframe.cxx
@@ -43,7 +43,7 @@ ScVbaTextFrame::Characters()
 OUString
 ScVbaTextFrame::getServiceImplName()
 {
-    return OUString("ScVbaTextFrame");
+    return "ScVbaTextFrame";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbatitle.hxx b/sc/source/ui/vba/vbatitle.hxx
index c4ce1f360f89..a6b99ac962ec 100644
--- a/sc/source/ui/vba/vbatitle.hxx
+++ b/sc/source/ui/vba/vbatitle.hxx
@@ -131,7 +131,7 @@ public:
 // XHelperInterface
     OUString getServiceImplName() override
     {
-        return OUString("TitleImpl");
+        return "TitleImpl";
     }
     css::uno::Sequence< OUString > getServiceNames() override
     {
diff --git a/sc/source/ui/vba/vbavalidation.cxx b/sc/source/ui/vba/vbavalidation.cxx
index f8af437e218c..651ce16eb2ef 100644
--- a/sc/source/ui/vba/vbavalidation.cxx
+++ b/sc/source/ui/vba/vbavalidation.cxx
@@ -365,7 +365,7 @@ ScVbaValidation::getType()
 OUString
 ScVbaValidation::getServiceImplName()
 {
-    return OUString("ScVbaValidation");
+    return "ScVbaValidation";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx
index 848687dd3bc9..e9b4a04ab6bf 100644
--- a/sc/source/ui/vba/vbawindow.cxx
+++ b/sc/source/ui/vba/vbawindow.cxx
@@ -872,7 +872,7 @@ void SAL_CALL ScVbaWindow::setTabRatio( double fRatio )
 OUString
 ScVbaWindow::getServiceImplName()
 {
-    return OUString("ScVbaWindow");
+    return "ScVbaWindow";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbawindows.cxx b/sc/source/ui/vba/vbawindows.cxx
index d7094b4eaa51..648109031e46 100644
--- a/sc/source/ui/vba/vbawindows.cxx
+++ b/sc/source/ui/vba/vbawindows.cxx
@@ -222,7 +222,7 @@ ScVbaWindows::Arrange( ::sal_Int32 /*ArrangeStyle*/, const uno::Any& /*ActiveWor
 OUString
 ScVbaWindows::getServiceImplName()
 {
-    return OUString("ScVbaWindows");
+    return "ScVbaWindows";
 }
 
 css::uno::Sequence<OUString>
diff --git a/sc/source/ui/vba/vbaworkbook.cxx b/sc/source/ui/vba/vbaworkbook.cxx
index 4e49e403f4b1..c17a7346d155 100644
--- a/sc/source/ui/vba/vbaworkbook.cxx
+++ b/sc/source/ui/vba/vbaworkbook.cxx
@@ -294,7 +294,7 @@ OUString SAL_CALL ScVbaWorkbook::getAuthor()
 {
     uno::Reference<document::XDocumentPropertiesSupplier> xDPS( getModel(), uno::UNO_QUERY );
     if (!xDPS.is())
-        return OUString("?");
+        return "?";
     uno::Reference<document::XDocumentProperties> xDocProps = xDPS->getDocumentProperties();
     return xDocProps->getAuthor();
 }
@@ -394,7 +394,7 @@ ScVbaWorkbook::Names( const uno::Any& aIndex )
 OUString
 ScVbaWorkbook::getServiceImplName()
 {
-    return OUString("ScVbaWorkbook");
+    return "ScVbaWorkbook";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/vba/vbaworkbooks.cxx b/sc/source/ui/vba/vbaworkbooks.cxx
index 33ed98755499..b5a53c772930 100644
--- a/sc/source/ui/vba/vbaworkbooks.cxx
+++ b/sc/source/ui/vba/vbaworkbooks.cxx
@@ -267,7 +267,7 @@ ScVbaWorkbooks::Open( const OUString& rFileName, const uno::Any& /*UpdateLinks*/
 OUString
 ScVbaWorkbooks::getServiceImplName()
 {
-    return OUString("ScVbaWorkbooks");
+    return "ScVbaWorkbooks";
 }
 
 css::uno::Sequence<OUString>
diff --git a/sc/source/ui/vba/vbaworksheet.cxx b/sc/source/ui/vba/vbaworksheet.cxx
index 1604bca5118b..3ff470e89467 100644
--- a/sc/source/ui/vba/vbaworksheet.cxx
+++ b/sc/source/ui/vba/vbaworksheet.cxx
@@ -983,7 +983,7 @@ ScVbaWorksheet::getControlShape( const OUString& sName )
 OUString
 ScVbaWorksheet::getServiceImplName()
 {
-    return OUString("ScVbaWorksheet");
+    return "ScVbaWorksheet";
 }
 
 void SAL_CALL
diff --git a/sc/source/ui/vba/vbaworksheets.cxx b/sc/source/ui/vba/vbaworksheets.cxx
index 34aa20fcd0d0..5b81bd521fcf 100644
--- a/sc/source/ui/vba/vbaworksheets.cxx
+++ b/sc/source/ui/vba/vbaworksheets.cxx
@@ -446,7 +446,7 @@ ScVbaWorksheets::Item(const uno::Any& Index, const uno::Any& Index2)
 OUString
 ScVbaWorksheets::getServiceImplName()
 {
-    return OUString("ScVbaWorksheets");
+    return "ScVbaWorksheets";
 }
 
 css::uno::Sequence<OUString>
diff --git a/sc/source/ui/vba/vbawsfunction.cxx b/sc/source/ui/vba/vbawsfunction.cxx
index fa5b2e051449..91507dc369c0 100644
--- a/sc/source/ui/vba/vbawsfunction.cxx
+++ b/sc/source/ui/vba/vbawsfunction.cxx
@@ -283,7 +283,7 @@ ScVbaWSFunction::getExactName( const OUString& aApproximateName )
 OUString
 ScVbaWSFunction::getServiceImplName()
 {
-    return OUString("ScVbaWSFunction");
+    return "ScVbaWSFunction";
 }
 
 uno::Sequence< OUString >
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index cb5c6a3bab7f..059cf07ff5ff 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -5688,7 +5688,7 @@ OString ScGridWindow::getCellCursor(const Fraction& /*rZoomX*/, const Fraction&
     // one (client-side) for tiled rendering too.
     if (!mpOOCursors)
     {
-        return OString("EMPTY");
+        return "EMPTY";
     }
 
     SCCOL nX = pViewData->GetCurX();
commit b890de156e335eb10ba70530d9b0599d602ccf07
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Jul 30 17:49:31 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Jul 31 12:55:39 2019 +0200

    Improved loplugin:stringconstant (now that GCC 7 supports it): scaddins
    
    Change-Id: Ie55e961e3ee95ff73c99fda2ad44ae1b38d553bd
    Reviewed-on: https://gerrit.libreoffice.org/76653
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/scaddins/source/analysis/analysis.cxx b/scaddins/source/analysis/analysis.cxx
index ce3c866aba2b..f9a398a8abb7 100644
--- a/scaddins/source/analysis/analysis.cxx
+++ b/scaddins/source/analysis/analysis.cxx
@@ -143,7 +143,7 @@ double AnalysisAddIn::FactDouble( sal_Int32 nNum )
 
 OUString AnalysisAddIn::getImplementationName_Static()
 {
-    return OUString( MY_IMPLNAME );
+    return MY_IMPLNAME;
 }
 
 uno::Sequence< OUString > AnalysisAddIn::getSupportedServiceNames_Static()
@@ -165,7 +165,7 @@ uno::Reference< uno::XInterface > AnalysisAddIn_CreateInstance(
 OUString SAL_CALL AnalysisAddIn::getServiceName()
 {
     // name of specific AddIn service
-    return OUString( MY_SERVICE );
+    return MY_SERVICE;
 }
 
 // XServiceInfo
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx
index e09f871c8ae1..90da165c3c46 100644
--- a/scaddins/source/datefunc/datefunc.cxx
+++ b/scaddins/source/datefunc/datefunc.cxx
@@ -172,7 +172,7 @@ OUString ScaDateAddIn::GetFuncDescrStr(const char** pResId, sal_uInt16 nStrIndex
 
 OUString ScaDateAddIn::getImplementationName_Static()
 {
-    return OUString( MY_IMPLNAME );
+    return MY_IMPLNAME;
 }
 
 uno::Sequence< OUString > ScaDateAddIn::getSupportedServiceNames_Static()
@@ -188,7 +188,7 @@ uno::Sequence< OUString > ScaDateAddIn::getSupportedServiceNames_Static()
 OUString SAL_CALL ScaDateAddIn::getServiceName()
 {
     // name of specific AddIn service
-    return OUString( MY_SERVICE );
+    return MY_SERVICE;
 }
 
 // XServiceInfo
diff --git a/scaddins/source/pricing/pricing.cxx b/scaddins/source/pricing/pricing.cxx
index 88987d84bc96..6c3a6449b0d1 100644
--- a/scaddins/source/pricing/pricing.cxx
+++ b/scaddins/source/pricing/pricing.cxx
@@ -172,7 +172,7 @@ OUString ScaPricingAddIn::GetFuncDescrStr(const char** pResId, sal_uInt16 nStrIn
 
 OUString ScaPricingAddIn::getImplementationName_Static()
 {
-    return OUString( MY_IMPLNAME );
+    return MY_IMPLNAME;
 }
 
 uno::Sequence< OUString > ScaPricingAddIn::getSupportedServiceNames_Static()
@@ -188,7 +188,7 @@ uno::Sequence< OUString > ScaPricingAddIn::getSupportedServiceNames_Static()
 OUString SAL_CALL ScaPricingAddIn::getServiceName()
 {
     // name of specific AddIn service
-    return OUString( MY_SERVICE );
+    return MY_SERVICE;
 }
 
 // XServiceInfo
commit 6cdaaeacb8b51ad1334f4c1659b6810d8beed658
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Jul 30 17:49:25 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Jul 31 12:55:32 2019 +0200

    Improved loplugin:stringconstant (now that GCC 7 supports it): sccomp
    
    Change-Id: I045d16b711cbc8c1cacf1d929b9d79387192586a
    Reviewed-on: https://gerrit.libreoffice.org/76652
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sccomp/source/solver/CoinMPSolver.cxx b/sccomp/source/solver/CoinMPSolver.cxx
index b422c3456875..f7a357e11eb9 100644
--- a/sccomp/source/solver/CoinMPSolver.cxx
+++ b/sccomp/source/solver/CoinMPSolver.cxx
@@ -44,7 +44,7 @@ private:
     virtual void SAL_CALL solve() override;
     virtual OUString SAL_CALL getImplementationName() override
     {
-        return OUString("com.sun.star.comp.Calc.CoinMPSolver");
+        return "com.sun.star.comp.Calc.CoinMPSolver";
     }
     virtual OUString SAL_CALL getComponentDescription() override
     {
diff --git a/sccomp/source/solver/LpsolveSolver.cxx b/sccomp/source/solver/LpsolveSolver.cxx
index 62cded699758..b1ab44e66350 100644
--- a/sccomp/source/solver/LpsolveSolver.cxx
+++ b/sccomp/source/solver/LpsolveSolver.cxx
@@ -73,7 +73,7 @@ private:
     virtual void SAL_CALL solve() override;
     virtual OUString SAL_CALL getImplementationName() override
     {
-        return OUString("com.sun.star.comp.Calc.LpsolveSolver");
+        return "com.sun.star.comp.Calc.LpsolveSolver";
     }
     virtual OUString SAL_CALL getComponentDescription() override
     {
diff --git a/sccomp/source/solver/SwarmSolver.cxx b/sccomp/source/solver/SwarmSolver.cxx
index e342658dea77..1e6604245dfe 100644
--- a/sccomp/source/solver/SwarmSolver.cxx
+++ b/sccomp/source/solver/SwarmSolver.cxx
@@ -253,7 +253,7 @@ public:
     // XServiceInfo
     virtual OUString SAL_CALL getImplementationName() override
     {
-        return OUString("com.sun.star.comp.Calc.SwarmSolver");
+        return "com.sun.star.comp.Calc.SwarmSolver";
     }
 
     sal_Bool SAL_CALL supportsService(const OUString& rServiceName) override


More information about the Libreoffice-commits mailing list