diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-02-07 13:06:08 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-02-07 13:06:08 +0100 |
commit | a27e4b8ca5d84790c04a7351c4ea5ef004a0bbea (patch) | |
tree | e400e267e96a54f7c37896e7cdccca345b2616f0 /sw/inc/ndarr.hxx | |
parent | 4f65368101fde95f5bf97f114290b494a80ef051 (diff) | |
parent | 5b7dc4c9b5c1190edce19e568676270f315c31e6 (diff) |
removetooltypes01: Rebase to DEV300m99
Diffstat (limited to 'sw/inc/ndarr.hxx')
-rw-r--r-- | sw/inc/ndarr.hxx | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx index 74a9bb215b37..cea112f655a0 100644 --- a/sw/inc/ndarr.hxx +++ b/sw/inc/ndarr.hxx @@ -30,6 +30,8 @@ #include <vector> +#include <boost/utility.hpp> + #include <com/sun/star/embed/XEmbeddedObject.hpp> #include <svl/svarray.hxx> @@ -82,7 +84,9 @@ typedef sal_Bool (*FnForEach_SwNodes)( const SwNodePtr&, void* pArgs ); SV_DECL_PTRARR_SORT( SwOutlineNodes, SwNodePtr, 0, 10 ) -class SW_DLLPUBLIC SwNodes: private BigPtrArray +class SW_DLLPUBLIC SwNodes + : private BigPtrArray + , private ::boost::noncopyable { friend class SwDoc; friend class SwNode; @@ -141,10 +145,6 @@ public: SwNodePtr operator[]( sal_uLong n ) const { return (SwNodePtr)BigPtrArray::operator[] ( n ); } -//JP 29.09.97: impl. steht im ndindex.hxx - sollte moeglichst bald auf die -// neue Schnittstelle angepasst werden - inline SwNodePtr operator[]( const SwNodeIndex& rIdx ) const; - sal_uLong Count() const { return BigPtrArray::Count(); } void ForEach( FnForEach_SwNodes fnForEach, void* pArgs = 0 ) { @@ -342,11 +342,6 @@ public: SwNode * DocumentSectionStartNode(SwNode * pNode) const; SwNode * DocumentSectionEndNode(SwNode * pNode) const; //<- #112139# -private: - // privater Constructor, weil nie kopiert werden darf !! - SwNodes( const SwNodes & rNodes ); }; - - #endif |