diff options
author | Michael Stahl <mst@openoffice.org> | 2010-12-15 09:13:59 +0100 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-12-15 09:13:59 +0100 |
commit | 1abef5bf64a7f3b5799fc597a4e486c45ace758f (patch) | |
tree | d14d3c5adfaa6545ff81bec7ff01112656c8d5a4 /sw/inc/ndindex.hxx | |
parent | b6c89a6480a65ed3f0670bb381bb0519243c044a (diff) |
undoapi: SwNodes: remove obsolete operator[](SwNodeIndex&)
Diffstat (limited to 'sw/inc/ndindex.hxx')
-rw-r--r-- | sw/inc/ndindex.hxx | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/sw/inc/ndindex.hxx b/sw/inc/ndindex.hxx index 3c3a71dd8641..d3969da42f03 100644 --- a/sw/inc/ndindex.hxx +++ b/sw/inc/ndindex.hxx @@ -24,14 +24,15 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef _NDINDEX_HXX -#define _NDINDEX_HXX +#ifndef SW_NDINDEX_HXX +#define SW_NDINDEX_HXX #include <limits.h> + #include <tools/solar.h> -#include "node.hxx" -#include "ndarr.hxx" +#include <node.hxx> + class SwNode; class SwNodes; @@ -239,14 +240,4 @@ inline SwNodeIndex& SwNodeIndex::operator=( ULONG nWert ) return *this; } - - -//JP 29.09.97: impl. steht im ndindex.hxx - sollte moeglichst bald auf die -// neue Schnittstelle angepasst werden -inline SwNode* SwNodes::operator[]( const SwNodeIndex& rIdx ) const -{ - return &rIdx.GetNode(); -} - - #endif |