diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-04 11:23:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-04 12:06:47 +0200 |
commit | ea1839853fbdc49ead92a7cd465e427f4167cea2 (patch) | |
tree | 7df5b34bf3c7be380cf13a7ddf5a48021dd1951a /extensions/source/abpilot | |
parent | 9ad9c5183f348384b62ec88459a3a5922e423d83 (diff) |
loplugin:unusedfields in editeng
Change-Id: I9806d87028a11a8103c35004c87b5098ca591409
Reviewed-on: https://gerrit.libreoffice.org/39495
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions/source/abpilot')
-rw-r--r-- | extensions/source/abpilot/datasourcehandling.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/extensions/source/abpilot/datasourcehandling.cxx b/extensions/source/abpilot/datasourcehandling.cxx index e543b396fc60..2f95469d3054 100644 --- a/extensions/source/abpilot/datasourcehandling.cxx +++ b/extensions/source/abpilot/datasourcehandling.cxx @@ -298,12 +298,10 @@ namespace abp ::utl::SharedUNOComponent< XConnection > xConnection; StringBag aTables; // the cached table names - OUString sName; - bool bTablesUpToDate; // table name cache up-to-date? + OUString sName; explicit ODataSourceImpl(const Reference< XComponentContext >& _rxORB) : xORB(_rxORB) - , bTablesUpToDate(false) { } @@ -317,7 +315,6 @@ namespace abp ,xConnection( _rSource.xConnection ) ,aTables( _rSource.aTables ) ,sName( _rSource.sName ) - ,bTablesUpToDate( _rSource.bTablesUpToDate ) { } @@ -518,7 +515,6 @@ namespace abp } // now the table cache is up-to-date - m_pImpl->bTablesUpToDate = true; return m_pImpl->aTables; } @@ -607,7 +603,6 @@ namespace abp // success m_pImpl->xConnection.reset( xConnection ); m_pImpl->aTables.clear(); - m_pImpl->bTablesUpToDate = false; return true; } @@ -617,7 +612,6 @@ namespace abp { m_pImpl->xConnection.clear(); m_pImpl->aTables.clear(); - m_pImpl->bTablesUpToDate = false; } |