summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-06-30 18:39:37 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-06-30 19:11:19 +0200
commit74f46aaa4b9ecffc8d20b0d22bb36625eeb4391d (patch)
treed82286ec1ec21fb574dde16f53538a35d2c7476d
parent53327abd436bf24076f624c56b3dee2f3f0eedcb (diff)
correctly calculate scroll bar position, related fdo#51599
Change-Id: I9e44e82873e99f3063c4ed9dff83613b53327872
-rw-r--r--sc/source/ui/condformat/condformatdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx
index 6f5ca81b3cdf..afa7575839e6 100644
--- a/sc/source/ui/condformat/condformatdlg.cxx
+++ b/sc/source/ui/condformat/condformatdlg.cxx
@@ -1012,7 +1012,7 @@ void ScCondFormatList::RecalcAll()
mpScrollBar->Hide();
}
- Point aPoint(0,0);
+ Point aPoint(0,-1*mpScrollBar->GetThumbPos());
for(EntryContainer::iterator itr = maEntries.begin(); itr != maEntries.end(); ++itr)
{
itr->SetPosPixel(aPoint);