summaryrefslogtreecommitdiff
path: root/sw/source/uibase/ribbar
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2018-04-09 13:01:22 +0200
committerArmin Le Grand <Armin.Le.Grand@cib.de>2018-04-09 18:09:15 +0200
commitf54cb7cc81ba3c485e24e6d9820cf8dced12081b (patch)
tree9e347f3c3306101f77be68d778a291537b6cc963 /sw/source/uibase/ribbar
parentf9d747aa4ca27bcd16d8832a6bc1407f79cead0b (diff)
GetLineEnds: Use SdrObject& instead of pointers
Change-Id: I154363d54139319f584d24401d47aa9374869d47 Reviewed-on: https://gerrit.libreoffice.org/52628 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
Diffstat (limited to 'sw/source/uibase/ribbar')
-rw-r--r--sw/source/uibase/ribbar/conrect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/ribbar/conrect.cxx b/sw/source/uibase/ribbar/conrect.cxx
index 395bca6961fe..8c6da3502144 100644
--- a/sw/source/uibase/ribbar/conrect.cxx
+++ b/sw/source/uibase/ribbar/conrect.cxx
@@ -66,7 +66,7 @@ bool ConstRectangle::MouseButtonDown(const MouseEvent& rMEvt)
if (pObj)
{
SfxItemSet aAttr(pObj->getSdrModelFromSdrObject().GetItemPool());
- SwFEShell::SetLineEnds(aAttr, pObj, m_nSlotId);
+ SwFEShell::SetLineEnds(aAttr, *pObj, m_nSlotId);
pObj->SetMergedItemSet(aAttr);
}
}