summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-30 18:52:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-30 23:18:11 +0200
commit57e8d6837c8bb72bb44930d78b9764789be80124 (patch)
tree39f86e5d0a923148925df682d77c7752871d91d6 /connectivity/source/commontools
parente28faafba4c01991788da39a50615c96c18a16e4 (diff)
Upcoming improved loplugin:staticanonymous -> redundantstatic: connectivity
Change-Id: I959a520f240faab062ecd4f6e2658d9fc9ce709f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97545 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r--connectivity/source/commontools/conncleanup.cxx2
-rw-r--r--connectivity/source/commontools/dbconversion.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/commontools/conncleanup.cxx b/connectivity/source/commontools/conncleanup.cxx
index d0198df5f494..c33cc7289a65 100644
--- a/connectivity/source/commontools/conncleanup.cxx
+++ b/connectivity/source/commontools/conncleanup.cxx
@@ -35,7 +35,7 @@ namespace dbtools
using namespace css::sdbc;
using namespace css::lang;
- static const char ACTIVE_CONNECTION_PROPERTY_NAME[] = "ActiveConnection";
+ const char ACTIVE_CONNECTION_PROPERTY_NAME[] = "ActiveConnection";
OAutoConnectionDisposer::OAutoConnectionDisposer(const Reference< XRowSet >& _rxRowSet, const Reference< XConnection >& _rxConnection)
:m_xRowSet( _rxRowSet )
diff --git a/connectivity/source/commontools/dbconversion.cxx b/connectivity/source/commontools/dbconversion.cxx
index 3dd42e9cadee..dbe942a3fd01 100644
--- a/connectivity/source/commontools/dbconversion.cxx
+++ b/connectivity/source/commontools/dbconversion.cxx
@@ -152,7 +152,7 @@ namespace dbtools
}
- static const sal_Int32 aDaysInMonth[12] = { 31, 28, 31, 30, 31, 30,
+ const sal_Int32 aDaysInMonth[12] = { 31, 28, 31, 30, 31, 30,
31, 31, 30, 31, 30, 31 };