summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabview.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-08-29 16:11:56 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-08-29 16:14:57 -0400
commit8acb68bae5319836a8c0c9fa6ddfc907b0dd6c48 (patch)
treebd8e54722de84aa24c9c80d3f734ce12d2128d05 /sc/source/ui/view/tabview.cxx
parent391a57ef65687f2e373bac8d410e551aafa780ec (diff)
Check whether or not a visible range has changed.
Change-Id: I83581c8964ff43af1b1c42df82236274db446953
Diffstat (limited to 'sc/source/ui/view/tabview.cxx')
-rw-r--r--sc/source/ui/view/tabview.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 5a431dc41ac8..a83fba24942c 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -1544,15 +1544,19 @@ void ScTabView::UpdateShow()
//! neue Gridwindows eintragen
}
-void ScTabView::UpdateVisibleRange()
+bool ScTabView::UpdateVisibleRange()
{
+ bool bChanged = false;
for (int i = 0; i < 4; ++i)
{
if (!pGridWin[i] || !pGridWin[i]->IsVisible())
continue;
- pGridWin[i]->UpdateVisibleRange();
+ if (pGridWin[i]->UpdateVisibleRange())
+ bChanged = true;
}
+
+ return bChanged;
}
// --- Splitter --------------------------------------------------------