summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-08-04 17:29:06 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-08-04 17:29:06 +0400
commit8e9f9afbe6eb9d676e678f208db48f30a6561af1 (patch)
tree2c5879f2a3bc8f7a33b8a04716e4a0581f5feaa3 /sc
parent5081ea1a076c61c01ae3837aa2396501860ae4e9 (diff)
calc input line: don't reset the scrollbar thumb on resize
Change-Id: I78d5bb455e8d175cf3813e24854a76407931a0e3
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/inputwin.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index f107349ee245..65b1a0d059b7 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -976,9 +976,6 @@ void ScInputBarGroup::Resize()
aScrollBar.SetLineSize( aMultiTextWnd.GetTextHeight() );
aScrollBar.SetRange( Range( 0, aMultiTextWnd.GetEditEngTxtHeight() ) );
- if ( aMultiTextWnd.GetEditView() )
- aScrollBar.SetThumbPos( 0 );
-
aScrollBar.Resize();
aScrollBar.Show();
}