Kaydet (Commit) c484c553 authored tarafından Mike Kaganski's avatar Mike Kaganski

tdf#105625 related: fix pointer variable prefix

Change-Id: I5030d33c83c89a4cb8653f88c4309af53b75f68b
Reviewed-on: https://gerrit.libreoffice.org/33823Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
Tested-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst bfc34f65
...@@ -210,11 +210,11 @@ long SwWrtShell::DelLeft() ...@@ -210,11 +210,11 @@ long SwWrtShell::DelLeft()
else else
{ {
// If we are just to the right to a fieldmark, then remove it completely // If we are just to the right to a fieldmark, then remove it completely
const SwPosition* aCurPos = GetCursor()->GetPoint(); const SwPosition* pCurPos = GetCursor()->GetPoint();
SwPosition aPrevChar(*aCurPos); SwPosition aPrevChar(*pCurPos);
--aPrevChar.nContent; --aPrevChar.nContent;
sw::mark::IFieldmark* pFm = getIDocumentMarkAccess()->getFieldmarkFor(aPrevChar); sw::mark::IFieldmark* pFm = getIDocumentMarkAccess()->getFieldmarkFor(aPrevChar);
if (pFm && pFm->GetMarkEnd() == *aCurPos) if (pFm && pFm->GetMarkEnd() == *pCurPos)
{ {
getIDocumentMarkAccess()->deleteMark(pFm); getIDocumentMarkAccess()->deleteMark(pFm);
return 1; return 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment