summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2023-12-29 18:07:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-12-29 19:36:57 +0100
commit02f8e04778596e4395c01271540298a044eee17a (patch)
tree34e6cd416b1fd24a57bb921dd3c62e37665721cd /sw/inc
parentc921e11a4c2a282279aef9e9a72199478240f728 (diff)
use more concrete UNO types in sw
Change-Id: Ie8dafd99a95ccbae724e7c37b49da01763a4ed42 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161408 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/unocoll.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/unocoll.hxx b/sw/inc/unocoll.hxx
index 48e1196f520e..751a4033f20e 100644
--- a/sw/inc/unocoll.hxx
+++ b/sw/inc/unocoll.hxx
@@ -39,6 +39,7 @@ class SwFormatFootnote;
class SwSectionFormat;
struct SvEventDescription;
class SwXFootnote;
+class SwXTextSection;
const SvEventDescription* sw_GetSupportedMacroItems();
@@ -393,7 +394,7 @@ public:
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
- static css::uno::Reference< css::text::XTextSection> GetObject( SwSectionFormat& rFormat );
+ static rtl::Reference<SwXTextSection> GetObject( SwSectionFormat& rFormat );
};
class SwXBookmarks final : public SwCollectionBaseClass,