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:
@@ -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 );
|
||||
|
@@ -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(
|
||||
|
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user