summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-15 23:20:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-16 15:21:35 +0100
commitb5dbfd61f05359b9342fad9f5c623a4f0b771493 (patch)
tree38317fbf005209358d5365b382b12e31561a0828 /svtools
parent52d1caa43786adb5e6066f5f3f670212ff84e422 (diff)
callcatcher: update unused code
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/svtools/scrwin.hxx2
-rw-r--r--svtools/source/control/scrwin.cxx9
2 files changed, 0 insertions, 11 deletions
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 )