From bfb9612226314cd037c8eda30cc6ebbb46dc8512 Mon Sep 17 00:00:00 2001 From: tymyjan Date: Sun, 3 Apr 2016 15:53:23 +0200 Subject: tdf#97499 Fixed containers parameters clearing #3 Change-Id: I1c105de7e1df251533179fba77e3797ef1c4e2d4 Reviewed-on: https://gerrit.libreoffice.org/23752 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/osl/diagnose.hxx | 2 +- include/svtools/framestatuslistener.hxx | 3 +-- include/svtools/statusbarcontroller.hxx | 3 +-- include/vcl/CommandImageResolver.hxx | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/osl/diagnose.hxx b/include/osl/diagnose.hxx index ece1e160a2bf..facccf929950 100644 --- a/include/osl/diagnose.hxx +++ b/include/osl/diagnose.hxx @@ -93,7 +93,7 @@ struct VoidPtrHash : ::std::unary_function { } }; -typedef ::std::unordered_set > VoidPointerSet; +typedef ::std::unordered_set VoidPointerSet; struct ObjectRegistryData { ObjectRegistryData( ::std::type_info const& rTypeInfo ) diff --git a/include/svtools/framestatuslistener.hxx b/include/svtools/framestatuslistener.hxx index dbf22189a4cf..5597f7dfebed 100644 --- a/include/svtools/framestatuslistener.hxx +++ b/include/svtools/framestatuslistener.hxx @@ -83,8 +83,7 @@ class SVT_DLLPUBLIC FrameStatusListener : public css::frame::XStatusListener, typedef std::unordered_map< OUString, css::uno::Reference< css::frame::XDispatch >, - OUStringHash, - std::equal_to< OUString > > URLToDispatchMap; + OUStringHash > URLToDispatchMap; bool m_bInitialized : 1, m_bDisposed : 1; diff --git a/include/svtools/statusbarcontroller.hxx b/include/svtools/statusbarcontroller.hxx index 2ae4481f0899..f7f16d9232f3 100644 --- a/include/svtools/statusbarcontroller.hxx +++ b/include/svtools/statusbarcontroller.hxx @@ -103,8 +103,7 @@ class SVT_DLLPUBLIC StatusbarController : typedef std::unordered_map< OUString, css::uno::Reference< css::frame::XDispatch >, - OUStringHash, - std::equal_to< OUString > > URLToDispatchMap; + OUStringHash > URLToDispatchMap; // methods to support status forwarder, known by the old sfx2 toolbox controller implementation void addStatusListener( const OUString& aCommandURL ); diff --git a/include/vcl/CommandImageResolver.hxx b/include/vcl/CommandImageResolver.hxx index ad09df1bcebd..875f658e5f35 100644 --- a/include/vcl/CommandImageResolver.hxx +++ b/include/vcl/CommandImageResolver.hxx @@ -31,7 +31,7 @@ enum ImageType class VCL_DLLPUBLIC CommandImageResolver { private: - typedef std::unordered_map> CommandToImageNameMap; + typedef std::unordered_map CommandToImageNameMap; CommandToImageNameMap m_aCommandToImageNameMap; std::vector m_aImageCommandNameVector; -- cgit