diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-05 21:56:00 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-05 21:56:00 +0100 |
commit | 639825975e7657c7b3f4eeef208112780e71e545 (patch) | |
tree | 261f8217fa45e8947e78f7e5126f07b1eaf86839 /odk/examples | |
parent | Remove "Visual C++, 32-bit, version 5.0" and prior version of T2TypeClassMap (diff) | |
download | core-639825975e7657c7b3f4eeef208112780e71e545.tar.gz core-639825975e7657c7b3f4eeef208112780e71e545.zip |
move sdk repo to boost unordered containters
Diffstat (limited to 'odk/examples')
-rw-r--r-- | odk/examples/cpp/complextoolbarcontrols/ListenerHelper.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odk/examples/cpp/complextoolbarcontrols/ListenerHelper.h b/odk/examples/cpp/complextoolbarcontrols/ListenerHelper.h index 8aa8621ac841..8e68906b200d 100644 --- a/odk/examples/cpp/complextoolbarcontrols/ListenerHelper.h +++ b/odk/examples/cpp/complextoolbarcontrols/ListenerHelper.h @@ -1,6 +1,6 @@ /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include <vector> -#include <hash_map> +#include <boost/unordered_map.hpp> #include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/frame/XStatusListener.hpp> #include <com/sun/star/frame/FeatureStateEvent.hpp> @@ -27,7 +27,7 @@ struct eqObjectName_Impl typedef std::vector < com::sun::star::uno::Reference < com::sun::star::frame::XStatusListener > > StatusListeners; -typedef std::hash_map +typedef boost::unordered_map < ::rtl::OUString, StatusListeners, @@ -38,7 +38,7 @@ ListenerMap; // For every frame there is *one* Dispatch object for all possible commands // this struct contains an array of listeners for every supported command -// these arrays are accessed by a hash_map (with the command string as index) +// these arrays are accessed by a boost::unordered_map (with the command string as index) struct ListenerItem { ListenerMap aContainer; |