diff options
Diffstat (limited to 'sw/source/uibase/wrtsh/delete.cxx')
-rw-r--r-- | sw/source/uibase/wrtsh/delete.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/wrtsh/delete.cxx b/sw/source/uibase/wrtsh/delete.cxx index 46b0a40cca5d..4d0f857a45a5 100644 --- a/sw/source/uibase/wrtsh/delete.cxx +++ b/sw/source/uibase/wrtsh/delete.cxx @@ -245,7 +245,7 @@ bool SwWrtShell::DelLeft() // If we are just to the right to a fieldmark, then remove it completely const SwPosition* pCurPos = GetCursor()->GetPoint(); SwPosition aPrevChar(*pCurPos->GetContentNode(), pCurPos->GetContentIndex() - 1); - sw::mark::IFieldmark* pFm = getIDocumentMarkAccess()->getFieldmarkAt(aPrevChar); + sw::mark::Fieldmark* pFm = getIDocumentMarkAccess()->getFieldmarkAt(aPrevChar); if (pFm && pFm->GetMarkEnd() == *pCurPos) { mxDoc->GetIDocumentUndoRedo().StartUndo(SwUndoId::EMPTY, nullptr); @@ -378,7 +378,7 @@ bool SwWrtShell::DelRight(bool const isReplaceHeuristic) { // If we are just ahead of a fieldmark, then remove it completely - sw::mark::IFieldmark *const pFm = getIDocumentMarkAccess()->getFieldmarkAt(*GetCursor()->GetPoint()); + sw::mark::Fieldmark *const pFm = getIDocumentMarkAccess()->getFieldmarkAt(*GetCursor()->GetPoint()); if (pFm && pFm->GetMarkStart() == *GetCursor()->GetPoint()) { mxDoc->GetIDocumentUndoRedo().StartUndo(SwUndoId::EMPTY, nullptr); |