[Libreoffice-commits] core.git: Branch 'aoo/trunk' - sc/source

Steve Yin steve_y at apache.org
Mon Mar 10 23:07:17 PDT 2014


 sc/source/ui/Accessibility/AccessibleDocument.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 572001d5865e4d11523e72a506e9a6eca7f23786
Author: Steve Yin <steve_y at apache.org>
Date:   Tue Mar 11 05:53:58 2014 +0000

    Bug 123622 - [ia2] Calc: No focus event fired on cell when new spreadsheet is created

diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index e55bc96..688ef34 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -1651,6 +1651,8 @@ void ScAccessibleDocument::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
 
                     if (mpAccessibleSpreadsheet)
                         mpAccessibleSpreadsheet->BoundingBoxChanged();
+                    if (mpAccessibleSpreadsheet && mpViewShell->IsActive())
+                        mpAccessibleSpreadsheet->FireFirstCellFocus();
                 }
                 else if (mpAccessibleSpreadsheet)
                 {
@@ -2266,7 +2268,6 @@ uno::Reference < XAccessible >
         mpAccessibleSpreadsheet->acquire();
         mpAccessibleSpreadsheet->Init();
         mbCompleteSheetSelected = IsTableSelected();
-        mpAccessibleSpreadsheet->FireFirstCellFocus(); // i123622
     }
     return mpAccessibleSpreadsheet;
 }


More information about the Libreoffice-commits mailing list