tdf#105625 related: fix pointer variable prefix
Change-Id: I5030d33c83c89a4cb8653f88c4309af53b75f68b Reviewed-on: https://gerrit.libreoffice.org/33823 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
parent
bfc34f65da
commit
c484c5532a
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user