summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase/shells
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/shells')
-rw-r--r--sw/source/uibase/shells/basesh.cxx4
-rw-r--r--sw/source/uibase/shells/langhelper.cxx2
-rw-r--r--sw/source/uibase/shells/tabsh.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index c1f1b1ca22d8..4a365d33af11 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -208,7 +208,7 @@ void SwBaseShell::ExecDelete(SfxRequest &rReq)
// is an outline node with folded content.
if (rSh.IsEndPara())
{
- SwNodeIndex aIdx(rSh.GetCursor()->GetNode());
+ SwNodeIndex aIdx(rSh.GetCursor()->GetPointNode());
if (aIdx.GetNode().IsTextNode())
{
bool bVisible = true;
@@ -237,7 +237,7 @@ void SwBaseShell::ExecDelete(SfxRequest &rReq)
// node is a content node without a layout frame.
if (rSh.IsSttPara())
{
- SwNodeIndex aIdx(rSh.GetCursor()->GetNode());
+ SwNodeIndex aIdx(rSh.GetCursor()->GetPointNode());
if (aIdx.GetNode().IsTextNode())
{
bool bVisible = true;
diff --git a/sw/source/uibase/shells/langhelper.cxx b/sw/source/uibase/shells/langhelper.cxx
index 9900952c9d46..097a8b0d8408 100644
--- a/sw/source/uibase/shells/langhelper.cxx
+++ b/sw/source/uibase/shells/langhelper.cxx
@@ -515,7 +515,7 @@ namespace SwLangHelper
// string for guessing language
OUString aText;
SwPaM *pCursor = rSh.GetCursor();
- SwTextNode *pNode = pCursor->GetNode().GetTextNode();
+ SwTextNode *pNode = pCursor->GetPointNode().GetTextNode();
if (pNode)
{
aText = pNode->GetText();
diff --git a/sw/source/uibase/shells/tabsh.cxx b/sw/source/uibase/shells/tabsh.cxx
index 204646a5f13d..9a9182f40978 100644
--- a/sw/source/uibase/shells/tabsh.cxx
+++ b/sw/source/uibase/shells/tabsh.cxx
@@ -455,7 +455,7 @@ static bool lcl_BoxesInDeletedRows(SwWrtShell &rSh, const SwSelBoxes& rBoxes)
bool bRet = true;
SwRedlineTable::size_type nRedlinePos = 0;
if ( rBoxes.empty() )
- bRet = rSh.GetCursor()->GetNode().GetTableBox()->GetUpper()->IsDeleted(nRedlinePos);
+ bRet = rSh.GetCursor()->GetPointNode().GetTableBox()->GetUpper()->IsDeleted(nRedlinePos);
else
{
tools::Long nBoxes = rBoxes.size();