summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-03-07 10:50:27 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-03-07 13:10:04 +0000
commit5ea32020e870fde6e1fa05964c343d004ed26f46 (patch)
tree630bdc56cd0d487e3860bcb80a2ca6defe311bde /sc
parent554bfc1dd106474cdbe8d7265e2b1223ccb8f06b (diff)
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 <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
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);
}
}
}