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/source/core/txtnode/ndtxt.cxx | |
parent | b6c89a6480a65ed3f0670bb381bb0519243c044a (diff) |
undoapi: SwNodes: remove obsolete operator[](SwNodeIndex&)
Diffstat (limited to 'sw/source/core/txtnode/ndtxt.cxx')
-rw-r--r-- | sw/source/core/txtnode/ndtxt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index defb97b89d13..65ad24d2b8b3 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -164,8 +164,8 @@ SwTxtNode *SwNodes::MakeTxtNode( const SwNodeIndex & rWhere, // 1. den Nachfolger nehmen // 2. den Vorgaenger - SwNode *pNd; - switch( ( pNd = (*this)[aTmp] )->GetNodeType() ) + SwNode * pNd = & aTmp.GetNode(); + switch (pNd->GetNodeType()) { case ND_TABLENODE: ((SwTableNode*)pNd)->MakeFrms( aIdx ); |