[Libreoffice-commits] core.git: Branch 'private/kohei/4-2-data-stream-staging' - sc/source
Kohei Yoshida
kohei.yoshida at collabora.com
Thu Dec 19 15:31:54 PST 2013
sc/source/ui/inc/tabview.hxx | 1 +
sc/source/ui/view/tabview3.cxx | 10 +++++++---
2 files changed, 8 insertions(+), 3 deletions(-)
New commits:
commit 0fa660a0893062bf6136bf703d466fcbd3be3539
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Thu Dec 19 18:32:48 2013 -0500
Add missing function to fix the build.
Change-Id: I29f2a88803e904e40d82b1472abbcd0428a4f214
diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx
index 4964e6d..e13d088 100644
--- a/sc/source/ui/inc/tabview.hxx
+++ b/sc/source/ui/inc/tabview.hxx
@@ -437,6 +437,7 @@ public:
void UpdateFormulas();
void InterpretVisible();
void CheckNeedsRepaint();
+ bool NeedsRepaint();
void PaintRangeFinder( long nNumber = -1 );
void AddHighlightRange( const ScRange& rRange, const Color& rColor );
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index e258761..cedb9ba 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -2634,8 +2634,12 @@ void ScTabView::CheckNeedsRepaint()
pGridWin[i]->CheckNeedsRepaint();
}
-
-
-
+bool ScTabView::NeedsRepaint()
+{
+ for (size_t i = 0; i < 4; i++)
+ if (pGridWin[i] && pGridWin[i]->IsVisible() && pGridWin[i]->NeedsRepaint())
+ return true;
+ return false;
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list