summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/drawvie3.cxx4
-rw-r--r--sc/source/ui/view/drawview.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/drawvie3.cxx b/sc/source/ui/view/drawvie3.cxx
index 4300413ea514..f0b1835a2695 100644
--- a/sc/source/ui/view/drawvie3.cxx
+++ b/sc/source/ui/view/drawvie3.cxx
@@ -69,8 +69,8 @@ void ScDrawView::SetPageAnchored()
pViewData->GetDocShell()->SetDrawModified();
// Remove the anchor object.
- aHdl.RemoveAllByKind(HDL_ANCHOR);
- aHdl.RemoveAllByKind(HDL_ANCHOR_TR);
+ maHdlList.RemoveAllByKind(HDL_ANCHOR);
+ maHdlList.RemoveAllByKind(HDL_ANCHOR_TR);
}
}
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx
index 65e4572daf00..4651f54b00fa 100644
--- a/sc/source/ui/view/drawview.cxx
+++ b/sc/source/ui/view/drawview.cxx
@@ -142,7 +142,7 @@ void ScDrawView::AddCustomHdl()
if (ScDrawObjData *pAnchor = ScDrawLayer::GetObjDataTab(pObj, nTab))
{
if (ScTabView* pView = pViewData->GetView())
- pView->CreateAnchorHandles(aHdl, pAnchor->maStart);
+ pView->CreateAnchorHandles(maHdlList, pAnchor->maStart);
}
}
}