diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-23 10:50:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-23 11:02:11 +0200 |
commit | 3e8a7ce7dffcf46a692e5da0b281a104df8d4d95 (patch) | |
tree | 1fdb0ad4385724f426c6dbbdc91ce66a4fd3b626 /connectivity/source/drivers/mork/MCatalog.cxx | |
parent | da631972229389d40e0502e02ff4e2c0761ca3fc (diff) |
Revert "loplugin:constantfunction: connectivity"
it seems to be causing unit-test and build failures
This reverts commit 5cbb51c009fa266e8418ef93799ac64e431c22f5.
Change-Id: Idc6372f98200b23828aa19b22a75b6b2b640d1ab
Diffstat (limited to 'connectivity/source/drivers/mork/MCatalog.cxx')
-rw-r--r-- | connectivity/source/drivers/mork/MCatalog.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mork/MCatalog.cxx b/connectivity/source/drivers/mork/MCatalog.cxx index 3602b3ca672b..65abe020b35d 100644 --- a/connectivity/source/drivers/mork/MCatalog.cxx +++ b/connectivity/source/drivers/mork/MCatalog.cxx @@ -92,7 +92,8 @@ Reference< XNameAccess > SAL_CALL OCatalog::getTables( ) throw(RuntimeException try { - refreshTables(); + if(!m_pTables || m_pConnection->getForceLoadTables()) + refreshTables(); } catch( const RuntimeException& ) { |