From b5dbfd61f05359b9342fad9f5c623a4f0b771493 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 15 Apr 2012 23:20:14 +0100 Subject: callcatcher: update unused code --- svtools/inc/svtools/scrwin.hxx | 2 -- svtools/source/control/scrwin.cxx | 9 --------- 2 files changed, 11 deletions(-) (limited to 'svtools') diff --git a/svtools/inc/svtools/scrwin.hxx b/svtools/inc/svtools/scrwin.hxx index 152649dbced2..fca0eaa0b6cf 100644 --- a/svtools/inc/svtools/scrwin.hxx +++ b/svtools/inc/svtools/scrwin.hxx @@ -90,8 +90,6 @@ public: void SetTotalSize( const Size& rNewSize ); Size GetTotalSize() { return PixelToLogic( aTotPixSz ); } - Rectangle GetVisibleArea() const; - using Window::Scroll; virtual void Scroll( long nDeltaX, long nDeltaY, sal_uInt16 nFlags = 0 ); diff --git a/svtools/source/control/scrwin.cxx b/svtools/source/control/scrwin.cxx index 5363db7f7fc8..26d799998aa9 100644 --- a/svtools/source/control/scrwin.cxx +++ b/svtools/source/control/scrwin.cxx @@ -329,15 +329,6 @@ void ScrollableWindow::SetTotalSize( const Size& rNewSize ) //------------------------------------------------------------------- -Rectangle ScrollableWindow::GetVisibleArea() const -{ - Point aTopLeft( PixelToLogic( Point() ) ); - Size aSz( GetOutputSize() ); - return Rectangle( aTopLeft, aSz ); -} - -//------------------------------------------------------------------- - void ScrollableWindow::Scroll( long nDeltaX, long nDeltaY, sal_uInt16 ) { if ( !bScrolling ) -- cgit