summaryrefslogtreecommitdiff
path: root/sw/source/core/docnode/nodes.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-07-29 09:06:56 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-07-29 10:16:17 +0200
commit1c43baff792663494a79e923bea81e702baefc5d (patch)
treea84189c5cb074c3372adc8f38b1cb3d4188f0b43 /sw/source/core/docnode/nodes.cxx
parent9e857693e0cb05448be681ea27d7500c25b34786 (diff)
sw: SwSttNdPtrs -> SwStartNodePointers
Change-Id: I0d9dc35e4501977e4a64548b0ff8f46c3a3f8538 Reviewed-on: https://gerrit.libreoffice.org/76517 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/source/core/docnode/nodes.cxx')
-rw-r--r--sw/source/core/docnode/nodes.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/docnode/nodes.cxx b/sw/source/core/docnode/nodes.cxx
index 2bfc9eb76067..37011a20e78e 100644
--- a/sw/source/core/docnode/nodes.cxx
+++ b/sw/source/core/docnode/nodes.cxx
@@ -46,7 +46,7 @@
#include <docsh.hxx>
-typedef std::vector<SwStartNode*> SwSttNdPtrs;
+typedef std::vector<SwStartNode*> SwStartNodePointers;
// function to determine the highest level in the given range
static sal_uInt16 HighestLevel( SwNodes & rNodes, const SwNodeRange & rRange );
@@ -435,8 +435,8 @@ bool SwNodes::MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
sal_uLong nInsPos = 0; // counter for tmp array
// array as a stack, storing all StartOfSelections
- SwSttNdPtrs aSttNdStack;
- SwSttNdPtrs::size_type nLevel = 0; // level counter
+ SwStartNodePointers aSttNdStack;
+ SwStartNodePointers::size_type nLevel = 0; // level counter
// set start index
SwNodeIndex aIdx( aIndex );
@@ -1016,7 +1016,7 @@ void SwNodes::SectionUpDown( const SwNodeIndex & aStart, const SwNodeIndex & aEn
{
SwNodeIndex aTmpIdx( aStart, +1 );
// array forms a stack, holding all StartOfSelections
- SwSttNdPtrs aSttNdStack;
+ SwStartNodePointers aSttNdStack;
SwStartNode* pTmp = aStart.GetNode().GetStartNode();
aSttNdStack.push_back( pTmp );