summaryrefslogtreecommitdiff
path: root/cui/source/options
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-30 23:02:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-07-01 07:07:54 +0200
commitb9127aa38926017a2aaef82221e3b9253e6ea794 (patch)
treecfa1ad404a40712a11a1af920bd155f7172eac86 /cui/source/options
parent1992978aba82cfea23d0dcf79d57676100b1a0d4 (diff)
Upcoming improved loplugin:staticanonymous -> redundantstatic: cui
Change-Id: I403229592145d6e126f5a3f4c8b788d2deb70a8f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97551 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cui/source/options')
-rw-r--r--cui/source/options/optgdlg.cxx10
-rw-r--r--cui/source/options/optinet2.cxx16
-rw-r--r--cui/source/options/optlingu.cxx8
-rw-r--r--cui/source/options/optpath.cxx2
-rw-r--r--cui/source/options/treeopt.cxx4
5 files changed, 20 insertions, 20 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 4959c58f4bef..b48a0e3675f8 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -1136,11 +1136,11 @@ struct LanguageConfig_Impl
static bool bLanguageCurrentDoc_Impl = false;
// some things we'll need...
-static const char sAccessSrvc[] = "com.sun.star.configuration.ConfigurationAccess";
-static const char sAccessUpdSrvc[] = "com.sun.star.configuration.ConfigurationUpdateAccess";
-static const char sInstalledLocalesPath[] = "org.openoffice.Setup/Office/InstalledLocales";
-static const char sUserLocalePath[] = "org.openoffice.Office.Linguistic/General";
-static const char sUserLocaleKey[] = "UILocale";
+const char sAccessSrvc[] = "com.sun.star.configuration.ConfigurationAccess";
+const char sAccessUpdSrvc[] = "com.sun.star.configuration.ConfigurationUpdateAccess";
+const char sInstalledLocalesPath[] = "org.openoffice.Setup/Office/InstalledLocales";
+const char sUserLocalePath[] = "org.openoffice.Office.Linguistic/General";
+const char sUserLocaleKey[] = "UILocale";
static Sequence< OUString > seqInstalledLanguages;
static OUString lcl_getDatePatternsConfigString( const LocaleDataWrapper& rLocaleWrapper )
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx
index 0644d84ec394..c78b94f6e543 100644
--- a/cui/source/options/optinet2.cxx
+++ b/cui/source/options/optinet2.cxx
@@ -95,14 +95,14 @@ IMPL_LINK(SvxProxyTabPage, PortChangedHdl, weld::Entry&, rEdit, void)
}
}
-static const char g_aProxyModePN[] = "ooInetProxyType";
-static const char g_aHttpProxyPN[] = "ooInetHTTPProxyName";
-static const char g_aHttpPortPN[] = "ooInetHTTPProxyPort";
-static const char g_aHttpsProxyPN[] = "ooInetHTTPSProxyName";
-static const char g_aHttpsPortPN[] = "ooInetHTTPSProxyPort";
-static const char g_aFtpProxyPN[] = "ooInetFTPProxyName";
-static const char g_aFtpPortPN[] = "ooInetFTPProxyPort";
-static const char g_aNoProxyDescPN[] = "ooInetNoProxy";
+const char g_aProxyModePN[] = "ooInetProxyType";
+const char g_aHttpProxyPN[] = "ooInetHTTPProxyName";
+const char g_aHttpPortPN[] = "ooInetHTTPProxyPort";
+const char g_aHttpsProxyPN[] = "ooInetHTTPSProxyName";
+const char g_aHttpsPortPN[] = "ooInetHTTPSProxyPort";
+const char g_aFtpProxyPN[] = "ooInetFTPProxyName";
+const char g_aFtpPortPN[] = "ooInetFTPProxyPort";
+const char g_aNoProxyDescPN[] = "ooInetNoProxy";
IMPL_STATIC_LINK(SvxProxyTabPage, NumberOnlyTextFilterHdl, OUString&, rTest, bool)
{
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index c925daba276d..ada93128e6e1 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -65,10 +65,10 @@ using namespace css::uno;
using namespace css::linguistic2;
using namespace css::beans;
-static const char cSpell[] = SN_SPELLCHECKER;
-static const char cGrammar[] = SN_GRAMMARCHECKER;
-static const char cHyph[] = SN_HYPHENATOR;
-static const char cThes[] = SN_THESAURUS;
+const char cSpell[] = SN_SPELLCHECKER;
+const char cGrammar[] = SN_GRAMMARCHECKER;
+const char cHyph[] = SN_HYPHENATOR;
+const char cThes[] = SN_THESAURUS;
// static ----------------------------------------------------------------
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index 809bab6b4e86..d3f3b419a835 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -98,7 +98,7 @@ struct Handle2CfgNameMapping_Impl
}
-static Handle2CfgNameMapping_Impl const Hdl2CfgMap_Impl[] =
+Handle2CfgNameMapping_Impl const Hdl2CfgMap_Impl[] =
{
{ SvtPathOptions::PATH_AUTOCORRECT, "AutoCorrect" },
{ SvtPathOptions::PATH_AUTOTEXT, "AutoText" },
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 1eb479681864..b885b4ba1a8e 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -114,7 +114,7 @@ using namespace ::com::sun::star::util;
LastPageSaver* OfaTreeOptionsDialog::pLastPageSaver = nullptr;
// some stuff for easier changes for SvtViewOptions
-static const OUString VIEWOPT_DATANAME = "page data";
+const OUString VIEWOPT_DATANAME = "page data";
static void SetViewOptUserItem( SvtViewOptions& rOpt, const OUString& rData )
{
@@ -317,7 +317,7 @@ struct OptionsMapping_Impl
}
-static OptionsMapping_Impl const OptionsMap_Impl[] =
+OptionsMapping_Impl const OptionsMap_Impl[] =
{
// GROUP PAGE PAGE-ID
{ "ProductName", nullptr, SID_GENERAL_OPTIONS },