summaryrefslogtreecommitdiff
path: root/sw/source/ui/docvw
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2002-09-11 11:05:10 +0000
committerMalte Timmermann <mt@openoffice.org>2002-09-11 11:05:10 +0000
commitaf393d0b4c3402cff4a186523c3bfe9f208e7a4a (patch)
treec7b8c62ca30ad04a341f32b06164239071796732 /sw/source/ui/docvw
parentc4e5505fb3b3314cb6b050f62699e31788b84cb3 (diff)
#103148# Scrollbar range only to width/height -1
Diffstat (limited to 'sw/source/ui/docvw')
-rw-r--r--sw/source/ui/docvw/srcedtw.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/docvw/srcedtw.cxx b/sw/source/ui/docvw/srcedtw.cxx
index 56dca464f52b..eb7d617d9e54 100644
--- a/sw/source/ui/docvw/srcedtw.cxx
+++ b/sw/source/ui/docvw/srcedtw.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: srcedtw.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: os $ $Date: 2002-09-03 07:38:29 $
+ * last change: $Author: mt $ $Date: 2002-09-11 12:05:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -630,8 +630,8 @@ void SwSrcEditWindow::SetScrollBarRanges()
{
// Extra-Methode, nicht InitScrollBars, da auch fuer TextEngine-Events.
- pHScrollbar->SetRange( Range( 0, nCurTextWidth ) );
- pVScrollbar->SetRange( Range(0, pTextEngine->GetTextHeight()) );
+ pHScrollbar->SetRange( Range( 0, nCurTextWidth-1 ) );
+ pVScrollbar->SetRange( Range(0, pTextEngine->GetTextHeight()-1) );
}
/*--------------------------------------------------------------------