[Libreoffice-commits] .: Branch 'libreoffice-3-3' - sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Mon Nov 29 16:55:41 PST 2010
sc/source/ui/view/tabview.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d8e814b2b0966efb1cc40223bd0025c96b1d825e
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Mon Nov 29 19:54:35 2010 -0500
Don't update visible ranges for invisible panes.
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 7420db5..d465f80 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();
More information about the Libreoffice-commits
mailing list