summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/cpp/complextoolbarcontrols/ListenerHelper.h6
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;