summaryrefslogtreecommitdiff
path: root/sw/source/core/docnode
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-08-29 12:52:04 +0300
committerTor Lillqvist <tml@collabora.com>2016-08-29 14:45:32 +0300
commit6f9750ef54f7e0f2c1345b39dcf45bdf589630d8 (patch)
treebad8db239238254daa1a6107dccae1245dfea172 /sw/source/core/docnode
parentbdd60f1f5e0b995572321fd0865ccb8849d8ed76 (diff)
Get rid of pointless indirect function pointer variables
Change-Id: Ic8eddec51d59b531ae22421b796a148267b9f3c1
Diffstat (limited to 'sw/source/core/docnode')
-rw-r--r--sw/source/core/docnode/ndtbl.cxx8
-rw-r--r--sw/source/core/docnode/section.cxx2
2 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx
index 0ba13326dd4d..0abfc39c6d3e 100644
--- a/sw/source/core/docnode/ndtbl.cxx
+++ b/sw/source/core/docnode/ndtbl.cxx
@@ -2026,10 +2026,10 @@ bool SwDoc::DeleteRowCol( const SwSelBoxes& rBoxes, bool bColumn )
// Save the cursors (UNO and otherwise)
SwPaM aSavePaM( SwNodeIndex( *pTableNd->EndOfSectionNode() ) );
- if( ! aSavePaM.Move( fnMoveForward, fnGoNode ) )
+ if( ! aSavePaM.Move( fnMoveForward, GoInNode ) )
{
*aSavePaM.GetMark() = SwPosition( *pTableNd );
- aSavePaM.Move( fnMoveBackward, fnGoNode );
+ aSavePaM.Move( fnMoveBackward, GoInNode );
}
{
SwPaM const tmpPaM(*pTableNd, *pTableNd->EndOfSectionNode());
@@ -2078,10 +2078,10 @@ bool SwDoc::DeleteRowCol( const SwSelBoxes& rBoxes, bool bColumn )
// Save the cursors (UNO and otherwise)
SwPaM aSavePaM( SwNodeIndex( *pTableNd->EndOfSectionNode() ) );
- if( ! aSavePaM.Move( fnMoveForward, fnGoNode ) )
+ if( ! aSavePaM.Move( fnMoveForward, GoInNode ) )
{
*aSavePaM.GetMark() = SwPosition( *pTableNd );
- aSavePaM.Move( fnMoveBackward, fnGoNode );
+ aSavePaM.Move( fnMoveBackward, GoInNode );
}
{
SwPaM const tmpPaM(*pTableNd, *pTableNd->EndOfSectionNode());
diff --git a/sw/source/core/docnode/section.cxx b/sw/source/core/docnode/section.cxx
index 55f40492d42d..34e1ef2d93c0 100644
--- a/sw/source/core/docnode/section.cxx
+++ b/sw/source/core/docnode/section.cxx
@@ -1371,7 +1371,7 @@ static void lcl_UpdateLinksInSect( SwBaseLink& rUpdLnk, SwSectionNode& rSectNd )
if( 2 < pSectNd->EndOfSectionIndex() - pSectNd->GetIndex() )
{
aSave = rInsPos;
- pPam->Move( fnMoveBackward, fnGoNode );
+ pPam->Move( fnMoveBackward, GoInNode );
pPam->SetMark(); // Rewire both SwPositions
pDoc->CorrAbs( aSave, *pPam->GetPoint(), 0, true );