diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-05-15 10:35:41 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-05-15 10:58:07 +0400 |
commit | 9b01e60444b0c176770f0adafc8f1bb4718dfba5 (patch) | |
tree | 7ef7ddb677dd25801030b24db6c78a213f1cdfba /sw | |
parent | 64c696fc92a860fdbbe490ca503391b964dd646f (diff) |
use real visibility of SwScrollbar again
Change-Id: Idd21d7efa2708ab2486cdaf8bf5910af36551687
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/uiview/pview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/uiview/pview.cxx b/sw/source/ui/uiview/pview.cxx index 2f1fea6577c3..0bf63ec906be 100644 --- a/sw/source/ui/uiview/pview.cxx +++ b/sw/source/ui/uiview/pview.cxx @@ -1367,7 +1367,7 @@ void SwPagePreView::CalcAndSetBorderPixel( SvBorder &rToFill, sal_Bool /*bInner* const long nTmp = rSet.GetScrollBarSize(); if ( pVScrollbar->IsVisible( true ) ) rToFill.Right() = nTmp; - if ( pHScrollbar->IsVisible( false ) ) + if ( pHScrollbar->IsVisible( true ) ) rToFill.Bottom() = nTmp; SetBorderPixel( rToFill ); } |