[Libreoffice-commits] core.git: sw/source
Mike Kaganski
mike.kaganski at collabora.com
Thu Feb 2 08:51:35 UTC 2017
sw/source/uibase/wrtsh/delete.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit c484c5532a9508606d65dfbb805163cd00178f4c
Author: Mike Kaganski <mike.kaganski at collabora.com>
Date: Thu Feb 2 11:48:36 2017 +0300
tdf#105625 related: fix pointer variable prefix
Change-Id: I5030d33c83c89a4cb8653f88c4309af53b75f68b
Reviewed-on: https://gerrit.libreoffice.org/33823
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
Tested-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/sw/source/uibase/wrtsh/delete.cxx b/sw/source/uibase/wrtsh/delete.cxx
index 27edcce..e4833ae 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;
More information about the Libreoffice-commits
mailing list