summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r--sc/source/ui/inc/AccessibleCell.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sc/source/ui/inc/AccessibleCell.hxx b/sc/source/ui/inc/AccessibleCell.hxx
index db6b4c3944fd..f5c3f8d2821f 100644
--- a/sc/source/ui/inc/AccessibleCell.hxx
+++ b/sc/source/ui/inc/AccessibleCell.hxx
@@ -22,6 +22,7 @@
#include <memory>
#include "AccessibleCellBase.hxx"
#include "viewdata.hxx"
+#include <com/sun/star/accessibility/AccessibleRelationType.hpp>
#include <com/sun/star/accessibility/XAccessibleExtendedAttributes.hpp>
#include <rtl/ref.hxx>
#include <editeng/AccessibleStaticTextBase.hxx>
@@ -36,6 +37,8 @@ class ScAccessibleDocument;
typedef cppu::ImplHelper1< css::accessibility::XAccessibleExtendedAttributes>
ScAccessibleCellAttributeImpl;
+using css::accessibility::AccessibleRelationType;
+
/** @descr
This base class provides an implementation of the
<code>AccessibleCell</code> service.
@@ -152,10 +155,10 @@ private:
void FillDependents(utl::AccessibleRelationSetHelper* pRelationSet);
void FillPrecedents(utl::AccessibleRelationSetHelper* pRelationSet);
void AddRelation(const ScAddress& rCell,
- const sal_uInt16 aRelationType,
+ const AccessibleRelationType eRelationType,
::utl::AccessibleRelationSetHelper* pRelationSet);
void AddRelation(const ScRange& rRange,
- const sal_uInt16 aRelationType,
+ const AccessibleRelationType eRelationType,
::utl::AccessibleRelationSetHelper* pRelationSet);
bool IsFormulaMode();
bool IsDropdown() const;