summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-20 15:59:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 12:16:17 +0200
commit9e61a951374a3f7705de67295e406e929c603a42 (patch)
tree1e7166ddbc847e796c41fb0c0527c5d74084a6b7 /sd
parent95c348afa8f4f17c058c449ded75025175af0e4a (diff)
loplugin:unusedfields in svtools
Change-Id: Ic8f67d40825d9843fd57535bd61bef51b470a8be Reviewed-on: https://gerrit.libreoffice.org/39016 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/drviews1.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx
index dca3a8df523c..ad32c960603d 100644
--- a/sd/source/ui/view/drviews1.cxx
+++ b/sd/source/ui/view/drviews1.cxx
@@ -511,8 +511,6 @@ VclPtr<SvxRuler> DrawViewShell::CreateHRuler (::sd::Window* pWin)
pRuler = VclPtr<Ruler>::Create(*this, GetParentWindow(), pWin, nFlags,
GetViewFrame()->GetBindings(), aWBits);
- pRuler->SetSourceUnit(pWin->GetMapMode().GetMapUnit());
-
// Metric ...
sal_uInt16 nMetric = (sal_uInt16)GetDoc()->GetUIUnit();
@@ -543,7 +541,6 @@ VclPtr<SvxRuler> DrawViewShell::CreateVRuler(::sd::Window* pWin)
pRuler = VclPtr<Ruler>::Create(*this, GetParentWindow(), pWin, nFlags,
GetViewFrame()->GetBindings(), aWBits);
- pRuler->SetSourceUnit(pWin->GetMapMode().GetMapUnit());
// Metric same as HRuler, use document setting
sal_uInt16 nMetric = (sal_uInt16)GetDoc()->GetUIUnit();