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

Tamás Zolnai tamas.zolnai at collabora.com
Fri Dec 16 11:24:16 UTC 2016


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

New commits:
commit 06ea887f8ba34a628d7641eab210501f7bd2493d
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
Date:   Fri Dec 16 01:46:52 2016 +0000

    tdf#71435: Accessible caret-moved events are missing when "freeze" is enabled
    
    Two accessible document is created when "freeze" options is
    enabled. meSplitPos identifies which accessible document handle
    which part of the window. We should handle events only in that
    accessible document which handles the active part.
    
    Change-Id: Ic9674344951f620546dd272beaad796de611d258
    Reviewed-on: https://gerrit.libreoffice.org/32065
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>

diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index e34f666..2416aa2 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -1577,7 +1577,7 @@ void ScAccessibleDocument::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
         }
         else if ((rHint.GetId() == SfxHintId::ScAccEnterEditMode)) // this event comes only on creating edit field of a cell
         {
-            if (mpViewShell->GetViewData().HasEditView(meSplitPos))
+            if (mpViewShell->GetViewData().GetEditActivePart() == meSplitPos)
             {
                 ScViewData& rViewData = mpViewShell->GetViewData();
                 const EditEngine* pEditEng = rViewData.GetEditView(meSplitPos)->GetEditEngine();


More information about the Libreoffice-commits mailing list