diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-20 12:29:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-21 07:36:17 +0100 |
commit | 457aba546f43a4117c5c263028e35c8aaf9bc7f6 (patch) | |
tree | a43134bccc285f16584d1611cb14eb981fddfd37 /connectivity/source/commontools | |
parent | 994a858d098287733dd9997ca79b4bd6e8956937 (diff) |
fix some dodgy static vars in connectivity
no good reason for these to be static, and likely they will cause
trouble if this code is ever touched from multiple threads at the same
time
Change-Id: I3f29d3795bd1a059a75d0d1ab64b25478fd60121
Reviewed-on: https://gerrit.libreoffice.org/63662
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r-- | connectivity/source/commontools/TPrivilegesResultSet.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/TPrivilegesResultSet.cxx b/connectivity/source/commontools/TPrivilegesResultSet.cxx index 02a51bd39b05..bb4f92397056 100644 --- a/connectivity/source/commontools/TPrivilegesResultSet.cxx +++ b/connectivity/source/commontools/TPrivilegesResultSet.cxx @@ -55,7 +55,7 @@ OResultSetPrivileges::OResultSetPrivileges( const Reference< XDatabaseMetaData>& } ODatabaseMetaDataResultSet::ORows aRows; - static ODatabaseMetaDataResultSet::ORow aRow(8); + ODatabaseMetaDataResultSet::ORow aRow(8); aRow[5] = new ORowSetValueDecorator(sUserWorkingFor); aRow[6] = ODatabaseMetaDataResultSet::getSelectValue(); aRow[7] = new ORowSetValueDecorator(OUString("YES")); |