diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-06-30 15:25:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-06-30 19:05:48 +0200 |
commit | d902e04bafcf7436c4c05140e82e677cd6bc826f (patch) | |
tree | 0fe1f2f76d11d798711264d56d697ef1cb876bca /basic/source/classes | |
parent | eb582a59f8f4ba9bcb939fd4b134f29099d2539c (diff) |
Upcoming improved loplugin:staticanonymous -> redundantstatic: basic
Change-Id: I1046ee1ea28e19afa51b0e20ee573105ced77535
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97522
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basic/source/classes')
-rw-r--r-- | basic/source/classes/image.cxx | 2 | ||||
-rw-r--r-- | basic/source/classes/sb.cxx | 8 | ||||
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/basic/source/classes/image.cxx b/basic/source/classes/image.cxx index 84878136a756..bb4d8409573f 100644 --- a/basic/source/classes/image.cxx +++ b/basic/source/classes/image.cxx @@ -86,7 +86,7 @@ static void SbiCloseRecord( SvStream& r, sal_uInt64 nOff ) r.Seek( nPos ); } -static constexpr sal_uInt32 nUnicodeDataMagicNumber = 0x556E6920; // "Uni " BE +constexpr sal_uInt32 nUnicodeDataMagicNumber = 0x556E6920; // "Uni " BE static bool GetToUnicodePoolData(SvStream& r, sal_uInt64 nLen, sal_uInt64 nNext) { diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 0377d854359c..1de6c8203426 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1947,10 +1947,10 @@ void StarBASIC::DetachAllDocBasicItems() // #118116 Implementation Collection object -static const char pCountStr[] = "Count"; -static const char pAddStr[] = "Add"; -static const char pItemStr[] = "Item"; -static const char pRemoveStr[] = "Remove"; +const char pCountStr[] = "Count"; +const char pAddStr[] = "Add"; +const char pItemStr[] = "Item"; +const char pRemoveStr[] = "Remove"; static sal_uInt16 nCountHash = 0, nAddHash, nItemHash, nRemoveHash; SbxInfoRef BasicCollection::xAddInfo; diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 3f5da99a6d5f..8ce98b6c3b48 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -98,11 +98,11 @@ using namespace cppu; // Identifiers for creating the strings for dbg_Properties -static char const ID_DBG_SUPPORTEDINTERFACES[] = "Dbg_SupportedInterfaces"; -static char const ID_DBG_PROPERTIES[] = "Dbg_Properties"; -static char const ID_DBG_METHODS[] = "Dbg_Methods"; +char const ID_DBG_SUPPORTEDINTERFACES[] = "Dbg_SupportedInterfaces"; +char const ID_DBG_PROPERTIES[] = "Dbg_Properties"; +char const ID_DBG_METHODS[] = "Dbg_Methods"; -static char const aSeqLevelStr[] = "[]"; +char const aSeqLevelStr[] = "[]"; // Gets the default property for a uno object. Note: There is some // redirection built in. The property name specifies the name |