From ab8333baee56fa20dae644c85fa29a7edb2d55b1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 28 Dec 2021 19:51:07 +0000 Subject: be more exact about the type of pDocument MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iab0d23e8ee691ac6ed3381bd7e1ee02bb59dc64f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127661 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- writerfilter/inc/dmapper/resourcemodel.hxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'writerfilter/inc/dmapper/resourcemodel.hxx') diff --git a/writerfilter/inc/dmapper/resourcemodel.hxx b/writerfilter/inc/dmapper/resourcemodel.hxx index 9e980494b09b..65682d78e381 100644 --- a/writerfilter/inc/dmapper/resourcemodel.hxx +++ b/writerfilter/inc/dmapper/resourcemodel.hxx @@ -178,6 +178,11 @@ const sal_uInt8 cFieldStart = 0x13; const sal_uInt8 cFieldSep = 0x14; const sal_uInt8 cFieldEnd = 0x15; +namespace ooxml +{ +class OOXMLDocument; +} + /** Handler for a stream. */ @@ -202,7 +207,7 @@ public: /// The current section is the last one in this body text. virtual void markLastSectionGroup(){}; - virtual void setDocumentReference(void* pDocument) = 0; + virtual void setDocumentReference(writerfilter::ooxml::OOXMLDocument* pDocument) = 0; /** Receives start mark for group with the same paragraph properties. -- cgit