summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2010-10-14 12:52:12 +0200
committerVladimir Glazunov <vg@openoffice.org>2010-10-14 12:52:12 +0200
commit97724a958b37b7546d37a188b37d7ca0a2b35a58 (patch)
treed9194837348c1e0cae2848f208bdaa4920095f29 /svtools
parent525de6f8eeac6e357167467da0f9a9448433bb25 (diff)
parent23207a4338732e755039eb7b627acdb566960e05 (diff)
#i10000# changes from OOO330 m10
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 68cf316e813b..53c2a5ac86f6 100644
--- a/svtools/source/brwbox/brwbox2.cxx
+++ b/svtools/source/brwbox/brwbox2.cxx
@@ -613,13 +613,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);