[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - sw/source

Mike Kaganski mike.kaganski at collabora.com
Wed Mar 29 15:54:38 UTC 2017


 sw/source/uibase/wrtsh/delete.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 7b953f183b509b24f39a5b757da2a350233ce51f
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>
    (cherry picked from commit c484c5532a9508606d65dfbb805163cd00178f4c)
    Reviewed-on: https://gerrit.libreoffice.org/35860

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;


More information about the Libreoffice-commits mailing list