diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-12-17 14:54:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-12-18 14:49:14 +0100 |
commit | 7e4b7be35cf38acdd67ecaeb63c1c5f152afd4f5 (patch) | |
tree | 5039f5aaee2a4c785d89c3f17089cb02f96de8bd /sw/source/ui/vba/vbacontentcontrols.hxx | |
parent | 6b63318f73de07b9a9697284d018e1271cb3307c (diff) |
use more concrete UNO in sw
Change-Id: Ie83d957349f123bca0fd46ce3144ce778c3ec101
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178704
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'sw/source/ui/vba/vbacontentcontrols.hxx')
-rw-r--r-- | sw/source/ui/vba/vbacontentcontrols.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbacontentcontrols.hxx b/sw/source/ui/vba/vbacontentcontrols.hxx index 20ff65ae8943..5bdfaf5f364f 100644 --- a/sw/source/ui/vba/vbacontentcontrols.hxx +++ b/sw/source/ui/vba/vbacontentcontrols.hxx @@ -12,6 +12,9 @@ #include <ooo/vba/word/XContentControls.hpp> #include <vbahelper/vbacollectionimpl.hxx> +#include <rtl/ref.hxx> + +class SwXTextDocument; typedef CollTestImplHelper<ooo::vba::word::XContentControls> SwVbaContentControls_BASE; @@ -21,8 +24,8 @@ public: /// @throws css::uno::RuntimeException SwVbaContentControls(const css::uno::Reference<ov::XHelperInterface>& xParent, const css::uno::Reference<css::uno::XComponentContext>& xContext, - const css::uno::Reference<css::text::XTextDocument>& xTextDocument, - const OUString& rTag, const OUString& rTitle); + const rtl::Reference<SwXTextDocument>& xTextDocument, const OUString& rTag, + const OUString& rTitle); // XContentControls //css::uno::Reference<ooo::vba::word::XContentControl> SAL_CALL Add(const css::uno::Any& Type, const css::uno::Any& Range) override; |