summaryrefslogtreecommitdiff
path: root/embedserv/source/embed
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-01 09:57:59 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-01 13:19:04 +0200
commit664de5a816bdcb68ada087f99ef5a76139890fdf (patch)
tree30dca6260b95bf402930be3eb33766923182b1c1 /embedserv/source/embed
parentf88160d640b3efe4ffdf8126795a56d25d83944d (diff)
loplugin:stringconstant (clang-cl)
Change-Id: Id1a82cea4444255fdb693e126b7571a406094624 Reviewed-on: https://gerrit.libreoffice.org/79916 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'embedserv/source/embed')
-rw-r--r--embedserv/source/embed/guid.cxx20
-rw-r--r--embedserv/source/embed/register.cxx2
-rw-r--r--embedserv/source/embed/servprov.cxx2
3 files changed, 12 insertions, 12 deletions
diff --git a/embedserv/source/embed/guid.cxx b/embedserv/source/embed/guid.cxx
index 0260cb0ebc7e..5b284a8a9dff 100644
--- a/embedserv/source/embed/guid.cxx
+++ b/embedserv/source/embed/guid.cxx
@@ -96,34 +96,34 @@ std::u16string_view getServiceNameFromGUID_Impl( GUID const * guid )
OUString getFilterNameFromGUID_Impl( GUID const * guid )
{
if ( *guid == OID_WriterTextServer )
- return OUString( "StarOffice XML (Writer)" );
+ return "StarOffice XML (Writer)";
if ( *guid == OID_WriterOASISTextServer )
- return OUString( "writer8" );
+ return "writer8";
if ( *guid == OID_CalcServer )
- return OUString( "StarOffice XML (Calc)" );
+ return "StarOffice XML (Calc)";
if ( *guid == OID_CalcOASISServer )
- return OUString( "calc8" );
+ return "calc8";
if ( *guid == OID_DrawingServer )
- return OUString( "StarOffice XML (Draw)" );
+ return "StarOffice XML (Draw)";
if ( *guid == OID_DrawingOASISServer )
- return OUString( "draw8" );
+ return "draw8";
if ( *guid == OID_PresentationServer )
- return OUString( "StarOffice XML (Impress)" );
+ return "StarOffice XML (Impress)";
if ( *guid == OID_PresentationOASISServer )
- return OUString( "impress8" );
+ return "impress8";
if ( *guid == OID_MathServer )
- return OUString( "StarOffice XML (Math)" );
+ return "StarOffice XML (Math)";
if ( *guid == OID_MathOASISServer )
- return OUString( "math8" );
+ return "math8";
return OUString();
}
diff --git a/embedserv/source/embed/register.cxx b/embedserv/source/embed/register.cxx
index 573aedd470f8..8f593d877a1f 100644
--- a/embedserv/source/embed/register.cxx
+++ b/embedserv/source/embed/register.cxx
@@ -38,7 +38,7 @@ static uno::Reference<uno::XInterface> EmbedServer_createInstance(
static OUString EmbedServer_getImplementationName() throw()
{
- return OUString("com.sun.star.comp.ole.EmbedServer");
+ return "com.sun.star.comp.ole.EmbedServer";
}
diff --git a/embedserv/source/embed/servprov.cxx b/embedserv/source/embed/servprov.cxx
index 429c86e0dc89..9be17eb071ec 100644
--- a/embedserv/source/embed/servprov.cxx
+++ b/embedserv/source/embed/servprov.cxx
@@ -119,7 +119,7 @@ EmbedServer_Impl::~EmbedServer_Impl()
OUString EmbedServer_Impl::getImplementationName()
{
- return OUString("com.sun.star.comp.ole.EmbedServer");
+ return "com.sun.star.comp.ole.EmbedServer";
}
sal_Bool EmbedServer_Impl::supportsService(OUString const & ServiceName)