From c484c5532a9508606d65dfbb805163cd00178f4c Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Thu, 2 Feb 2017 11:48:36 +0300 Subject: [PATCH] tdf#105625 related: fix pointer variable prefix Change-Id: I5030d33c83c89a4cb8653f88c4309af53b75f68b Reviewed-on: https://gerrit.libreoffice.org/33823 Reviewed-by: Mike Kaganski Tested-by: Mike Kaganski --- sw/source/uibase/wrtsh/delete.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sw/source/uibase/wrtsh/delete.cxx b/sw/source/uibase/wrtsh/delete.cxx index 27edcce0822c..e4833ae2d4dc 100644 --- a/sw/source/uibase/wrtsh/delete.cxx +++ b/sw/source/uibase/wrtsh/delete.cxx @@ -210,11 +210,11 @@ long SwWrtShell::DelLeft() else { // If we are just to the right to a fieldmark, then remove it completely - const SwPosition* aCurPos = GetCursor()->GetPoint(); - SwPosition aPrevChar(*aCurPos); + const SwPosition* pCurPos = GetCursor()->GetPoint(); + SwPosition aPrevChar(*pCurPos); --aPrevChar.nContent; sw::mark::IFieldmark* pFm = getIDocumentMarkAccess()->getFieldmarkFor(aPrevChar); - if (pFm && pFm->GetMarkEnd() == *aCurPos) + if (pFm && pFm->GetMarkEnd() == *pCurPos) { getIDocumentMarkAccess()->deleteMark(pFm); return 1;