diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-07 10:50:27 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-07 13:10:04 +0000 |
commit | 5ea32020e870fde6e1fa05964c343d004ed26f46 (patch) | |
tree | 630bdc56cd0d487e3860bcb80a2ca6defe311bde /sc | |
parent | 554bfc1dd106474cdbe8d7265e2b1223ccb8f06b (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.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/view/drawview.cxx | 2 |
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); } } } |