summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 12:07:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 21:32:33 +0200
commit32894034ea7b283d6c60cb77ef5d8b43a9c15d65 (patch)
treea210de631bfb7c824c8caaf71cab098358727b81 /sd
parent977a676a718bfa682352d023420f4026ea9d7025 (diff)
loplugin:constparams in editeng
Change-Id: Ice32a16d14d0132a19e8209d311bb799fd7ee0c8 Reviewed-on: https://gerrit.libreoffice.org/40526 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/outlview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx
index 7ec73eabcd78..3688e7461f01 100644
--- a/sd/source/ui/view/outlview.cxx
+++ b/sd/source/ui/view/outlview.cxx
@@ -313,7 +313,7 @@ OutlinerView* OutlineView::GetViewByWindow (vcl::Window* pWin) const
*/
Paragraph* OutlineView::GetPrevTitle(const Paragraph* pPara)
{
- sal_Int32 nPos = mrOutliner.GetAbsPos(const_cast<Paragraph*>(pPara));
+ sal_Int32 nPos = mrOutliner.GetAbsPos(pPara);
if (nPos > 0)
{