Upcoming improved loplugin:staticanonymous -> redundantstatic: extensions

Change-Id: Ifce7b61cc5bd0901c7ee43712dc236f5aec47edc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97560
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2020-07-01 08:17:13 +02:00
parent cf1d55096a
commit 2469ef45f1
8 changed files with 12 additions and 12 deletions
@@ -49,8 +49,8 @@ namespace abp
using namespace ::com::sun::star::ui::dialogs;
static const char sDriverSettingsNodeName[] = "/org.openoffice.Office.DataAccess/DriverSettings/com.sun.star.comp.sdbc.MozabDriver";
static const char sAddressBookNodeName[] = "/org.openoffice.Office.DataAccess/AddressBook";
const char sDriverSettingsNodeName[] = "/org.openoffice.Office.DataAccess/DriverSettings/com.sun.star.comp.sdbc.MozabDriver";
const char sAddressBookNodeName[] = "/org.openoffice.Office.DataAccess/AddressBook";
namespace fieldmapping
{
+1 -1
View File
@@ -33,7 +33,7 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::sdb;
static const char cDataSourceHistory[] = "DataSourceHistory";
const char cDataSourceHistory[] = "DataSourceHistory";
Sequence<OUString> const & BibConfig::GetPropertyNames()
{
+1 -1
View File
@@ -74,7 +74,7 @@ struct CacheDispatchInfo
// Attention: commands must be sorted by command groups. Implementation is dependent
// on this!!
static const DispatchInfo SupportedCommandsArray[] =
const DispatchInfo SupportedCommandsArray[] =
{
{ ".uno:Undo" , frame::CommandGroup::EDIT , false },
{ ".uno:Cut" , frame::CommandGroup::EDIT , false },
@@ -30,7 +30,7 @@ static uno::Reference<uno::XInterface> createLdapUserProfileBe(
}
static const cppu::ImplementationEntry kImplementations_entries[] =
const cppu::ImplementationEntry kImplementations_entries[] =
{
{
createLdapUserProfileBe,
+3 -3
View File
@@ -27,9 +27,9 @@ namespace pcr
namespace ControlType
{
static const sal_Int16 FIXEDLINE = sal_Int16(100);
static const sal_Int16 FORMATTEDFIELD = sal_Int16(101);
static const sal_Int16 PROGRESSBAR = sal_Int16(102);
const sal_Int16 FIXEDLINE = sal_Int16(100);
const sal_Int16 FORMATTEDFIELD = sal_Int16(101);
const sal_Int16 PROGRESSBAR = sal_Int16(102);
// need only those which are not already covered as FormComponentType
}
@@ -184,7 +184,7 @@ namespace pcr
}
static const LanguageDependentProp aLanguageDependentProp[] =
const LanguageDependentProp aLanguageDependentProp[] =
{
{ "Text", 4 },
{ "Label", 5 },
@@ -37,9 +37,9 @@ namespace pcr
namespace
{
static const sal_Int32 s_nFirstVirtualButtonType = 1 + sal_Int32(FormButtonType_URL);
const sal_Int32 s_nFirstVirtualButtonType = 1 + sal_Int32(FormButtonType_URL);
static const char* pNavigationURLs[] =
const char* pNavigationURLs[] =
{
".uno:FormController/moveToFirst",
".uno:FormController/moveToPrev",
+1 -1
View File
@@ -773,7 +773,7 @@ createInstance(uno::Reference<uno::XComponentContext> const & xContext)
}
static const cppu::ImplementationEntry kImplementations_entries[] =
const cppu::ImplementationEntry kImplementations_entries[] =
{
{
createInstance,