summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbacontentcontrol.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-12-17 14:54:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-12-18 14:49:14 +0100
commit7e4b7be35cf38acdd67ecaeb63c1c5f152afd4f5 (patch)
tree5039f5aaee2a4c785d89c3f17089cb02f96de8bd /sw/source/ui/vba/vbacontentcontrol.cxx
parent6b63318f73de07b9a9697284d018e1271cb3307c (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/vbacontentcontrol.cxx')
-rw-r--r--sw/source/ui/vba/vbacontentcontrol.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbacontentcontrol.cxx b/sw/source/ui/vba/vbacontentcontrol.cxx
index 3646804436c7..a127d80636d6 100644
--- a/sw/source/ui/vba/vbacontentcontrol.cxx
+++ b/sw/source/ui/vba/vbacontentcontrol.cxx
@@ -20,6 +20,7 @@
#include "vbacontentcontrol.hxx"
#include "vbacontentcontrollistentries.hxx"
#include "vbarange.hxx"
+#include <unotxdoc.hxx>
using namespace ::ooo::vba;
using namespace ::com::sun::star;
@@ -33,7 +34,7 @@ using namespace ::com::sun::star;
*/
SwVbaContentControl::SwVbaContentControl(const uno::Reference<XHelperInterface>& rParent,
const uno::Reference<uno::XComponentContext>& rContext,
- const uno::Reference<text::XTextDocument>& xTextDocument,
+ const rtl::Reference<SwXTextDocument>& xTextDocument,
std::shared_ptr<SwContentControl> pContentControl)
: SwVbaContentControl_BASE(rParent, rContext)
, mxTextDocument(xTextDocument)