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@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user