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

Change-Id: Ide954bc4ebffef93c71a3ca5fbde51ea38b6cb28
Reviewed-on: https://gerrit.libreoffice.org/76697
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2019-07-30 17:58:41 +02:00
parent bde28d67c2
commit 69625a9191
4 changed files with 5 additions and 5 deletions

View file

@ -285,7 +285,7 @@ void AccessibleDialogControlShape::propertyChange( const beans::PropertyChangeEv
// XServiceInfo
OUString AccessibleDialogControlShape::getImplementationName()
{
return OUString( "com.sun.star.comp.basctl.AccessibleShape" );
return "com.sun.star.comp.basctl.AccessibleShape";
}
sal_Bool AccessibleDialogControlShape::supportsService( const OUString& rServiceName )

View file

@ -536,7 +536,7 @@ void AccessibleDialogWindow::disposing()
// XServiceInfo
OUString AccessibleDialogWindow::getImplementationName()
{
return OUString( "com.sun.star.comp.basctl.AccessibleWindow" );
return "com.sun.star.comp.basctl.AccessibleWindow";
}
sal_Bool AccessibleDialogWindow::supportsService( const OUString& rServiceName )

View file

@ -1413,10 +1413,10 @@ OUString SbTreeListBox::GetRootEntryBitmaps(const ScriptDocument& rDocument)
else
{
// default icon
return OUString(RID_BMP_DOCUMENT);
return RID_BMP_DOCUMENT;
}
}
return OUString(RID_BMP_INSTALLATION);
return RID_BMP_INSTALLATION;
}
void SbTreeListBox::SetCurrentEntry (EntryDescriptor const & rDesc)

View file

@ -85,7 +85,7 @@ OUString SIDEModel::getImplementationName()
OUString SIDEModel::getImplementationName_Static()
{
return OUString( "com.sun.star.comp.basic.BasicIDE" );
return "com.sun.star.comp.basic.BasicIDE";
}
sal_Bool SIDEModel::supportsService(const OUString& rServiceName)