Improved loplugin:stringconstant (now that GCC 7 supports it): embeddedobj

Change-Id: Id3d255d48a8a72f760dae3c372e0e1a97d0aa508
Reviewed-on: https://gerrit.libreoffice.org/76681
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2019-07-30 17:55:55 +02:00
parent 3a9e5c09b8
commit bce25ad547
4 changed files with 5 additions and 5 deletions

View File

@@ -440,7 +440,7 @@ OUString OCommonEmbeddedObject::GetFilterName( sal_Int32 nVersion ) const
if (utl::ConfigManager::IsFuzzing() && nVersion == SOFFICE_FILEFORMAT_CURRENT &&
sDocumentServiceName == "com.sun.star.chart2.ChartDocument")
{
return OUString("chart8");
return "chart8";
}
try {
::comphelper::MimeConfigurationHelper aHelper( m_xContext );

View File

@@ -47,7 +47,7 @@ uno::Sequence< OUString > OOoEmbeddedObjectFactory::impl_staticGetSupportedServi
OUString OOoEmbeddedObjectFactory::impl_staticGetImplementationName()
{
return OUString("com.sun.star.comp.embed.OOoEmbeddedObjectFactory");
return "com.sun.star.comp.embed.OOoEmbeddedObjectFactory";
}
uno::Reference< uno::XInterface > OOoEmbeddedObjectFactory::impl_staticCreateSelfInstance(
@@ -395,7 +395,7 @@ uno::Sequence< OUString > OOoSpecialEmbeddedObjectFactory::impl_staticGetSupport
OUString OOoSpecialEmbeddedObjectFactory::impl_staticGetImplementationName()
{
return OUString("com.sun.star.comp.embed.OOoSpecialEmbeddedObjectFactory");
return "com.sun.star.comp.embed.OOoSpecialEmbeddedObjectFactory";
}
uno::Reference< uno::XInterface > OOoSpecialEmbeddedObjectFactory::impl_staticCreateSelfInstance(

View File

@@ -51,7 +51,7 @@ uno::Sequence< OUString > UNOEmbeddedObjectCreator::impl_staticGetSupportedServi
OUString UNOEmbeddedObjectCreator::impl_staticGetImplementationName()
{
return OUString("com.sun.star.comp.embed.EmbeddedObjectCreator");
return "com.sun.star.comp.embed.EmbeddedObjectCreator";
}

View File

@@ -46,7 +46,7 @@ uno::Sequence< OUString > OleEmbeddedObjectFactory::impl_staticGetSupportedServi
OUString OleEmbeddedObjectFactory::impl_staticGetImplementationName()
{
return OUString("com.sun.star.comp.embed.OLEEmbeddedObjectFactory");
return "com.sun.star.comp.embed.OLEEmbeddedObjectFactory";
}