[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - sc/source
Tamás Zolnai
tamas.zolnai at collabora.com
Fri Dec 16 12:30:42 UTC 2016
sc/source/ui/Accessibility/AccessibleDocument.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c869dac7c71395fd86a930c556893b6694a36e8a
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/32077
Tested-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 f919af43..79b1a48 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -1581,7 +1581,7 @@ void ScAccessibleDocument::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
}
else if ((rHint.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