summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/AccessibleContextBase.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/AccessibleContextBase.hxx')
-rw-r--r--sc/source/ui/inc/AccessibleContextBase.hxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/sc/source/ui/inc/AccessibleContextBase.hxx b/sc/source/ui/inc/AccessibleContextBase.hxx
index d8e7353f123b..8451169a8f70 100644
--- a/sc/source/ui/inc/AccessibleContextBase.hxx
+++ b/sc/source/ui/inc/AccessibleContextBase.hxx
@@ -241,6 +241,12 @@ public:
void
CommitChange(const css::accessibility::AccessibleEventObject& rEvent) const;
+ /// Use this method to set initial Name without notification
+ void SetName(const OUString& rName) { msName = rName; }
+
+ /// Use this method to set initial Description without notification
+ void SetDescription(const OUString& rDesc) { msDescription = rDesc; }
+
protected:
/// Calls all FocusListener to tell they that the focus is gained.
void CommitFocusGained() const;
@@ -253,11 +259,6 @@ protected:
/// @throws css::lang::DisposedException
void IsObjectValid() const;
- /// Use this method to set initial Name without notification
- void SetName(const OUString& rName) { msName = rName; }
- /// Use this method to set initial Description without notification
- void SetDescription(const OUString& rDesc) { msDescription = rDesc; }
-
/// Reference to the parent object.
css::uno::Reference<css::accessibility::XAccessible> mxParent;