diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-11-29 19:54:35 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-11-29 19:54:35 -0500 |
commit | d8e814b2b0966efb1cc40223bd0025c96b1d825e (patch) | |
tree | b9167d3cee31016cc1dc80aba9f3be4ad0458c14 /sc | |
parent | 052488532d2237ea12a6cfd72d6e38350e5ae122 (diff) |
Don't update visible ranges for invisible panes.
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/tabview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx index 7420db5e7..d465f80ac 100644 --- a/sc/source/ui/view/tabview.cxx +++ b/sc/source/ui/view/tabview.cxx @@ -1695,7 +1695,7 @@ void ScTabView::UpdateVisibleRange() { for (int i = 0; i < 4; ++i) { - if (!pGridWin[i]) + if (!pGridWin[i] || !pGridWin[i]->IsVisible()) continue; pGridWin[i]->UpdateVisibleRange(); |