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/runtime | |
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/runtime')
-rw-r--r-- | basic/source/runtime/ddectrl.cxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/runtime.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/runtime/ddectrl.cxx b/basic/source/runtime/ddectrl.cxx index 37d3c7d0c44d..d1154a727f74 100644 --- a/basic/source/runtime/ddectrl.cxx +++ b/basic/source/runtime/ddectrl.cxx @@ -25,7 +25,7 @@ #define DDE_FIRSTERR 0x4000 #define DDE_LASTERR 0x4011 -static const ErrCode nDdeErrMap[] = +const ErrCode nDdeErrMap[] = { /* DMLERR_ADVACKTIMEOUT */ ErrCode(0x4000), ERRCODE_BASIC_DDE_TIMEOUT, /* DMLERR_BUSY */ ErrCode(0x4001), ERRCODE_BASIC_DDE_BUSY, diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index c2182e26b77a..607604f8abd6 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -1778,7 +1778,7 @@ void removeDimAsNewRecoverItem( SbxVariable* pVar ) // saving object variable // not-object variables will cause errors -static const char pCollectionStr[] = "Collection"; +const char pCollectionStr[] = "Collection"; void SbiRuntime::StepSET_Impl( SbxVariableRef& refVal, SbxVariableRef& refVar, bool bHandleDefaultProp ) { |