summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2010-10-13 15:17:38 +0100
committerNoel Power <noel.power@novell.com>2010-10-13 15:17:38 +0100
commit1f4a6a21cb5445d3ed0c7d544906d5c98e31447a (patch)
tree7d8ab04dc4750c8dec9e9194d496b89a46670ddc /svtools
parent44b6cad4026d7c48325a43c970d05493c4113e1b (diff)
parent8e3b6ac3249200da87d1bd4b7ef0c7e51b706dd6 (diff)
Merge branch 'master' of ssh://noelp@git.freedesktop.org/git/libreoffice/libs-gui
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/brwbox/brwbox2.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx
index cb3a2088c0e7..5691a9a07d22 100644
--- a/svtools/source/brwbox/brwbox2.cxx
+++ b/svtools/source/brwbox/brwbox2.cxx
@@ -611,13 +611,6 @@ void BrowseBox::Resize()
if (IsZoom())
nSBSize = (ULONG)(nSBSize * (double)GetZoom());
- long nSize = pDataWin->GetPosPixel().Y();
- if( !getDataWindow()->bNoHScroll )
- nSize += aHScroll.GetSizePixel().Height();
-
- if ( GetOutputSizePixel().Height() < nSize )
- return;
-
DoHideCursor( "Resize" );
USHORT nOldVisibleRows =
(USHORT)(pDataWin->GetOutputSizePixel().Height() / GetDataRowHeight() + 1);