summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-16 15:03:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-17 08:25:29 +0200
commitda5c3a1ee43dd1a07cbd1b8005488bf05432593d (patch)
tree0b3c86fdebd4620a25e1cdd20edb6cddeaeaa811 /connectivity
parent6ee4375763854e43e549aee5a35520def2e215a2 (diff)
loplugin:staticvar in avmedia..connectivity
Change-Id: I5dcac79131c810787e8fa49df75e55cc78147860 Reviewed-on: https://gerrit.libreoffice.org/61834 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx2
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_types.cxx2
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_types.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx b/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
index 95bae62bed1e..e8aafb3d78a2 100644
--- a/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
+++ b/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
@@ -880,7 +880,7 @@ void SAL_CALL ODatabaseMetaDataResultSet::initialize( const Sequence< Any >& _aA
namespace
{
- cppu::ImplementationEntry entries[] = {
+ cppu::ImplementationEntry const entries[] = {
{ &ODatabaseMetaDataResultSet_CreateInstance, &ODatabaseMetaDataResultSet::getImplementationName_Static, &ODatabaseMetaDataResultSet::getSupportedServiceNames_Static,
&cppu::createSingleComponentFactory, nullptr, 0 },
{ &ParameterSubstitution::create, &ParameterSubstitution::getImplementationName_Static, &ParameterSubstitution::getSupportedServiceNames_Static,
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_types.cxx b/connectivity/source/drivers/mysqlc/mysqlc_types.cxx
index b79c7ce8431f..9639a4a6f381 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_types.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_types.cxx
@@ -25,7 +25,7 @@
using namespace com::sun::star::sdbc;
-TypeInfoDef mysqlc_types[] = {
+TypeInfoDef const mysqlc_types[] = {
// ------------- MySQL-Type: BIT. SDBC-Type: Bit -------------
{
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_types.hxx b/connectivity/source/drivers/mysqlc/mysqlc_types.hxx
index 54f054d1ba6d..3aa355fb65a2 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_types.hxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_types.hxx
@@ -39,7 +39,7 @@ struct TypeInfoDef
sal_Int32 maxScale;
};
-extern TypeInfoDef mysqlc_types[];
+extern TypeInfoDef const mysqlc_types[];
#endif // INCLUDED_MYSQLC_SOURCE_MYSQLC_TYPES_HXX