summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-03-17 13:28:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-03-17 15:44:25 +0100
commit0cdfe74271c1544e4b6bdc2bcd1ec087d672d81c (patch)
tree0cf12c7e6f47fcb54bb86693efcee54c9881a810 /include/editeng
parent7fccffa78a26641053268b9c9e431156ce628552 (diff)
use actual type in AccessibleEditableTextPara
instead of casting everywhere Change-Id: I98b654fd93eb8cea49f2e6a399a986e45ed8381d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131708 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/AccessibleEditableTextPara.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/editeng/AccessibleEditableTextPara.hxx b/include/editeng/AccessibleEditableTextPara.hxx
index 02f907704bdb..0d405094b933 100644
--- a/include/editeng/AccessibleEditableTextPara.hxx
+++ b/include/editeng/AccessibleEditableTextPara.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_EDITENG_ACCESSIBLEEDITABLETEXTPARA_HXX
#include <config_options.h>
+#include <rtl/ref.hxx>
#include <rtl/ustring.hxx>
#include <tools/gen.hxx>
#include <comphelper/compbase.hxx>
@@ -47,6 +48,7 @@ class MapMode;
class SvxAccessibleTextAdapter;
class SvxAccessibleTextEditViewAdapter;
namespace accessibility { class AccessibleImageBullet; }
+namespace utl { class AccessibleStateSetHelper; }
namespace accessibility
{
@@ -363,7 +365,7 @@ namespace accessibility
Point maEEOffset;
// the current state set (updated from SetState/UnSetState and guarded by solar mutex)
- css::uno::Reference< css::accessibility::XAccessibleStateSet > mxStateSet;
+ rtl::Reference< ::utl::AccessibleStateSetHelper > mxStateSet;
/// The shape we're the accessible for (unguarded)
css::uno::Reference< css::accessibility::XAccessible > mxParent;