summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mork/MCatalog.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-20 16:25:51 +0200
committerNoel Grandin <noel@peralex.com>2015-03-23 09:42:23 +0200
commit5cbb51c009fa266e8418ef93799ac64e431c22f5 (patch)
tree4210474916192440d4a529299c0be82fbe361550 /connectivity/source/drivers/mork/MCatalog.cxx
parent9559cef61d0ca9159ef095fe28fc68121a8d30d3 (diff)
loplugin:constantfunction: connectivity
Change-Id: Ic1a71851a80ed2715969b0f00a0e59ab3a0593db
Diffstat (limited to 'connectivity/source/drivers/mork/MCatalog.cxx')
-rw-r--r--connectivity/source/drivers/mork/MCatalog.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/drivers/mork/MCatalog.cxx b/connectivity/source/drivers/mork/MCatalog.cxx
index 65abe020b35d..3602b3ca672b 100644
--- a/connectivity/source/drivers/mork/MCatalog.cxx
+++ b/connectivity/source/drivers/mork/MCatalog.cxx
@@ -92,8 +92,7 @@ Reference< XNameAccess > SAL_CALL OCatalog::getTables( ) throw(RuntimeException
try
{
- if(!m_pTables || m_pConnection->getForceLoadTables())
- refreshTables();
+ refreshTables();
}
catch( const RuntimeException& )
{