diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-06-30 18:39:37 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-06-30 19:13:03 +0200 |
commit | 62b4026212d2f5e4ee26acf70b09b7e8f2eb6e63 (patch) | |
tree | dd3ab490ffdad845e5512726a298d8ebcef41fc7 | |
parent | d500b55a4ab9b4ec29b8432a638dfb5a1da6fe6c (diff) |
correctly calculate scroll bar position, related fdo#51599
Change-Id: I9e44e82873e99f3063c4ed9dff83613b53327872
-rw-r--r-- | sc/source/ui/condformat/condformatdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx index 862df3e8dca2..8c2aa1df3470 100644 --- a/sc/source/ui/condformat/condformatdlg.cxx +++ b/sc/source/ui/condformat/condformatdlg.cxx @@ -1027,7 +1027,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); |