diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-12 13:18:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-13 07:29:37 +0100 |
commit | e98bcfcc3cdad46620e3d59119b0ac262db88054 (patch) | |
tree | 102a618dd0eea76eb934473cf833d8cd1fc53578 /desktop/source | |
parent | c474fd56e1723002ce8e6388a74b902fdc8c5887 (diff) |
loplugin:unusedfields in various
Change-Id: I4021ba6090bd3f42b0eb5ea1ec9bbf05d1594b35
Reviewed-on: https://gerrit.libreoffice.org/65054
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/app/dispatchwatcher.cxx | 1 | ||||
-rw-r--r-- | desktop/source/app/dispatchwatcher.hxx | 2 | ||||
-rw-r--r-- | desktop/source/migration/migration.cxx | 6 | ||||
-rw-r--r-- | desktop/source/migration/migration_impl.hxx | 1 |
4 files changed, 0 insertions, 10 deletions
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx index 3ae3c7d57269..bc363d03ae5b 100644 --- a/desktop/source/app/dispatchwatcher.cxx +++ b/desktop/source/app/dispatchwatcher.cxx @@ -430,7 +430,6 @@ bool DispatchWatcher::executeDispatchRequests( const std::vector<DispatchRequest { ::osl::ClearableMutexGuard aGuard(m_mutex); // Remember request so we can find it in statusChanged! - m_aRequestContainer.emplace(aURL.Complete, 1); m_nRequestCount++; } diff --git a/desktop/source/app/dispatchwatcher.hxx b/desktop/source/app/dispatchwatcher.hxx index 24fd8c37e160..2b683ffd08fb 100644 --- a/desktop/source/app/dispatchwatcher.hxx +++ b/desktop/source/app/dispatchwatcher.hxx @@ -81,8 +81,6 @@ class DispatchWatcher : public ::cppu::WeakImplHelper< css::frame::XDispatchResu private: osl::Mutex m_mutex; - std::unordered_map<OUString, sal_Int32> m_aRequestContainer; - sal_Int16 m_nRequestCount; }; diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx index 4bec38e38bda..bea253cb5c96 100644 --- a/desktop/source/migration/migration.cxx +++ b/desktop/source/migration/migration.cxx @@ -420,12 +420,6 @@ migrations_vr MigrationImpl::readMigrationSteps(const OUString& rMigrationName) tmpStep.excludeConfig.push_back(rSeqEntry); } - // included extensions... - if (tmpAccess->getByName("IncludedExtensions") >>= tmpSeq) { - for (const OUString& rSeqEntry : tmpSeq) - tmpStep.includeExtensions.push_back(rSeqEntry); - } - // excluded extensions... if (tmpAccess->getByName("ExcludedExtensions") >>= tmpSeq) { for (const OUString& rSeqEntry : tmpSeq) diff --git a/desktop/source/migration/migration_impl.hxx b/desktop/source/migration/migration_impl.hxx index b8d0acb872dd..ba9a4b198de1 100644 --- a/desktop/source/migration/migration_impl.hxx +++ b/desktop/source/migration/migration_impl.hxx @@ -60,7 +60,6 @@ struct migration_step strings_v excludeFiles; strings_v includeConfig; strings_v excludeConfig; - strings_v includeExtensions; strings_v excludeExtensions; OUString service; }; |