diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/drviews1.cxx | 3 |
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(); |