[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Oct 15 14:13:16 UTC 2019
sc/source/ui/Accessibility/AccessibleCsvControl.cxx | 7 +++++++
sc/source/ui/inc/AccessibleContextBase.hxx | 2 +-
sc/source/ui/inc/AccessibleCsvControl.hxx | 2 ++
3 files changed, 10 insertions(+), 1 deletion(-)
New commits:
commit 1412280847aeeaa65bc068e488c235831903b29e
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Oct 15 11:58:24 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Oct 15 16:11:37 2019 +0200
back isShowing with IsReallyVisible
Change-Id: Ibae8fa0d21cd2c0b49c3c8709087319502f70cb0
Reviewed-on: https://gerrit.libreoffice.org/80824
Tested-by: Jenkins
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/AccessibleCsvControl.cxx b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
index b751ed478eac..0bced19306e1 100644
--- a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx
@@ -114,6 +114,13 @@ bool ScAccessibleCsvControl::isVisible()
return implGetControl().IsVisible();
}
+bool ScAccessibleCsvControl::isShowing()
+{
+ SolarMutexGuard aGuard;
+ ensureAlive();
+ return implGetControl().IsReallyVisible();
+}
+
void SAL_CALL ScAccessibleCsvControl::grabFocus()
{
SolarMutexGuard aGuard;
diff --git a/sc/source/ui/inc/AccessibleContextBase.hxx b/sc/source/ui/inc/AccessibleContextBase.hxx
index fd9d54250617..516a0eff3655 100644
--- a/sc/source/ui/inc/AccessibleContextBase.hxx
+++ b/sc/source/ui/inc/AccessibleContextBase.hxx
@@ -71,7 +71,7 @@ protected:
public:
/// @throws css::uno::RuntimeException
- bool isShowing( );
+ virtual bool isShowing();
/// @throws css::uno::RuntimeException
virtual bool isVisible();
diff --git a/sc/source/ui/inc/AccessibleCsvControl.hxx b/sc/source/ui/inc/AccessibleCsvControl.hxx
index 331fb28bb9ee..b01eae6fd4c7 100644
--- a/sc/source/ui/inc/AccessibleCsvControl.hxx
+++ b/sc/source/ui/inc/AccessibleCsvControl.hxx
@@ -55,6 +55,8 @@ public:
/** Returns true, if the control is visible. */
virtual bool isVisible() override;
+ /** Returns true, if the control is showing. */
+ virtual bool isShowing() override;
// XAccessibleComponent ---------------------------------------------------
More information about the Libreoffice-commits
mailing list