[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - sc/source
Tamás Zolnai
tamas.zolnai at collabora.com
Sun Jan 1 17:43:53 UTC 2017
sc/source/ui/Accessibility/AccessibleDocument.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8e776ddb0a65fcf2be72166fa6da1bde6a885e91
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>
(cherry picked from commit 06ea887f8ba34a628d7641eab210501f7bd2493d)
Reviewed-on: https://gerrit.libreoffice.org/32078
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index e05f663..0b1982d 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -1588,7 +1588,7 @@ void ScAccessibleDocument::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
}
else if ((pSimpleHint->GetId() == SC_HINT_ACC_ENTEREDITMODE)) // 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