[Libreoffice-commits] core.git: sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Wed Apr 16 08:11:38 PDT 2014


 sc/source/ui/view/tabview3.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 52cc88d6191ba0c4b6477e5c4b9c5d0f0228030d
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Wed Apr 16 11:08:46 2014 -0400

    fdo#75026: Sometimes we need to update grid view while not being active.
    
    For example when "jumping to mark" in the non-active window triggered by
    hyperlink in the active one.  The jump-to-mark command gets dispatched before
    the new window is officially activated.
    
    Change-Id: I4e9c126b061ee3af4440e36d1ba6d796eb1c3539

diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index 8b7e0a1..5312c0d 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -2111,9 +2111,6 @@ void ScTabView::PaintRangeFinderEntry (ScRangeFindData* pData, const SCTAB nTab)
 
 void ScTabView::UpdateGrid()
 {
-    if (!aViewData.IsActive())
-        return;
-
     if (!UpdateVisibleRange())
         // Visible range hasn't changed. No need to re-paint.
         return;


More information about the Libreoffice-commits mailing list