diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-09-14 09:09:34 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-09-14 09:09:34 +0200 |
commit | 5b674bd583868abde278ebdf73bb2197849a49ae (patch) | |
tree | 4c1a58f36585e05251825da12dac93a5152fcdf2 | |
parent | 6a8fd4c76a969ac98d1aff91ff7442f43aee0006 (diff) |
dba33j: #i111125# Resize: do not leave the method prematurely, the more not depending on a condition whose state is about to be changed a few lines below
-rw-r--r-- | svtools/source/brwbox/brwbox2.cxx | 7 |
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); |