summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svtools/source/uno/treecontrolpeer.cxx8
-rw-r--r--svtools/source/uno/treecontrolpeer.hxx14
2 files changed, 10 insertions, 12 deletions
diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx
index 12fd892910e4..8e77362b08f3 100644
--- a/svtools/source/uno/treecontrolpeer.cxx
+++ b/svtools/source/uno/treecontrolpeer.cxx
@@ -144,14 +144,6 @@ public:
TreeControlPeer* mpPeer;
};
-// --------------------------------------------------------------------
-
-class TreeNodeMap : public std::map< Reference< XTreeNode >, UnoTreeListEntry* >
-{
-};
-
-// --------------------------------------------------------------------
-
TreeControlPeer::TreeControlPeer()
: maSelectionListeners( *this )
, maTreeExpansionListeners( *this )
diff --git a/svtools/source/uno/treecontrolpeer.hxx b/svtools/source/uno/treecontrolpeer.hxx
index c154d698b1cd..26b52da7a184 100644
--- a/svtools/source/uno/treecontrolpeer.hxx
+++ b/svtools/source/uno/treecontrolpeer.hxx
@@ -42,16 +42,22 @@
#include <tools/contnr.hxx>
+#include <map>
+
+namespace com { namespace sun { namespace star { namespace awt { namespace tree {
+
+class XTreeNode;
+
+}}}}}
+
class UnoTreeListEntry;
class TreeControlPeer;
class UnoTreeListBoxImpl;
-class TreeNodeMap;
-// ----------------------------------------------------
-// class TreeControlPeer
-// ----------------------------------------------------
class TreeControlPeer : public ::cppu::ImplInheritanceHelper2< VCLXWindow, ::com::sun::star::awt::tree::XTreeControl, ::com::sun::star::awt::tree::XTreeDataModelListener >
{
+ typedef std::map<com::sun::star::uno::Reference<com::sun::star::awt::tree::XTreeNode>, UnoTreeListEntry*> TreeNodeMap;
+
friend class UnoTreeListBoxImpl;
friend class UnoTreeListEntry;
public: