diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-24 15:51:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-25 09:19:59 +0200 |
commit | a8520074425cd0b05ea54af4e189caafca634655 (patch) | |
tree | 8360b25d613a133b73c47194f3a5cecdbaa8c38d /svtools | |
parent | d90ec5d26f1e9ff6afe7544cff8413d105d4d439 (diff) |
loplugin:unusedmethods
Change-Id: I1f9ac5f8a090f365d9a21486029e1c13d721a4a4
Reviewed-on: https://gerrit.libreoffice.org/62338
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/misc/dialogcontrolling.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/svtools/source/misc/dialogcontrolling.cxx b/svtools/source/misc/dialogcontrolling.cxx index d23ab9b398ac..fa2b66a19181 100644 --- a/svtools/source/misc/dialogcontrolling.cxx +++ b/svtools/source/misc/dialogcontrolling.cxx @@ -138,25 +138,6 @@ namespace svt } - namespace - { - struct ResetDialogController - { - void operator()( const std::shared_ptr<DialogController>& _pController ) - { - _pController->reset(); - } - }; - } - - - void ControlDependencyManager::clear() - { - ::std::for_each( m_pImpl->aControllers.begin(), m_pImpl->aControllers.end(), ResetDialogController() ); - m_pImpl->aControllers.clear(); - } - - void ControlDependencyManager::addController( const std::shared_ptr<DialogController>& _pController ) { OSL_ENSURE(_pController != nullptr, "ControlDependencyManager::addController: invalid " |