[Libreoffice-commits] core.git: sw/source
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jul 29 08:17:04 UTC 2019
sw/source/core/docnode/nodes.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 1c43baff792663494a79e923bea81e702baefc5d
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Mon Jul 29 09:06:56 2019 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Mon Jul 29 10:16:17 2019 +0200
sw: SwSttNdPtrs -> SwStartNodePointers
Change-Id: I0d9dc35e4501977e4a64548b0ff8f46c3a3f8538
Reviewed-on: https://gerrit.libreoffice.org/76517
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
Tested-by: Jenkins
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 );
More information about the Libreoffice-commits
mailing list