diff options
author | Michael Stahl <mst@openoffice.org> | 2010-12-15 09:13:50 +0100 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-12-15 09:13:50 +0100 |
commit | f1c8f5d1adc7b47f809d4344d7c2780cd4309da2 (patch) | |
tree | 388b97f5db576296a8f38749447b219cbf57cab5 /sw/inc/ndarr.hxx | |
parent | af1d03993616e4974388d760fc51ae54a8d2bd4a (diff) |
undoapi: #i115383#: rollback change: make SwNodes ctor protected again
Diffstat (limited to 'sw/inc/ndarr.hxx')
-rw-r--r-- | sw/inc/ndarr.hxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx index db22f73b2238..a60529037758 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 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; @@ -129,7 +133,7 @@ class SW_DLLPUBLIC SwNodes: private BigPtrArray BOOL bNewFrms = TRUE, BOOL bTblInsDummyNode = FALSE ) const; void _DelDummyNodes( const SwNodeRange& rRg ); -public: +protected: SwNodes( SwDoc* pDoc ); public: @@ -342,11 +346,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 |