From 5ea32020e870fde6e1fa05964c343d004ed26f46 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Sat, 7 Mar 2015 10:50:27 +0100 Subject: SdrMarkView: aHdl -> maHdlList aHdl is an SdrHdlList, so reading aHdl.GetHdl() as "get the handle of the handle" was confusing. Change-Id: Ib21fa74cc1daa4b6d2034f07715147a8fb0cf934 Reviewed-on: https://gerrit.libreoffice.org/14779 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- sc/source/ui/view/drawvie3.cxx | 4 ++-- sc/source/ui/view/drawview.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sc') 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); } } } -- cgit