[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Wed Apr 16 08:48:03 PDT 2014


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

New commits:
commit 44c9235ba8ab513451fcc6cd5dbdf82c577481f1
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
    (cherry picked from commit 52cc88d6191ba0c4b6477e5c4b9c5d0f0228030d)
    Reviewed-on: https://gerrit.libreoffice.org/9068
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index 92aaadc..2a79b15 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -2112,9 +2112,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