From 04539b9bba00d4cd1e4673fc1fab0fa1977d53cd Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 26 Feb 2014 15:51:46 +0200 Subject: [PATCH] remove unused code Ruler::GetPageWidth() Change-Id: I7a061b869a699771b321d7143559c5b9f48937c5 --- include/svtools/ruler.hxx | 1 - svtools/source/control/ruler.cxx | 5 ----- unusedcode.easy | 1 - 3 files changed, 7 deletions(-) diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx index eb7eadd80811..8301316d9cf5 100644 --- a/include/svtools/ruler.hxx +++ b/include/svtools/ruler.hxx @@ -739,7 +739,6 @@ public: long GetWinWidth() const { return mnWinWidth; } void SetPagePos( long nOff = 0, long nWidth = 0 ); long GetPageOffset() const; - long GetPageWidth() const; void SetBorderPos( long nOff = 0 ); long GetBorderOffset() const { return mnBorderOff; } Rectangle GetExtraRect() const { return maExtraRect; } diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index 115eea59abe4..6fbea325da8e 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -2763,11 +2763,6 @@ long Ruler::GetPageOffset() const return mpData->nPageOff; } -long Ruler::GetPageWidth() const -{ - return mpData->nPageWidth; -} - long Ruler::GetNullOffset() const { return mpData->nNullOff; diff --git a/unusedcode.easy b/unusedcode.easy index 7619af85965e..495c4ec94427 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -56,7 +56,6 @@ OutputDevice::PixelToLogic(Region const&, MapMode const&) const PanelLayout::dispatch(rtl::OUString const&, com::sun::star::uno::Sequence const&) RecentDocsView::SetThumbnailSize(long) Resource::TestRes() -Ruler::GetPageWidth() const SalDisplay::PrintInfo() const SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint const&, basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*) ScDocument::CreateFormatTable() const