include/xmloff/txtparae.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 2416cae8ea94997ebea112c31624db79d0d6b91a Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Apr 14 08:38:50 2023 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Apr 14 10:28:00 2023 +0200 XMLPropertyState needs to be a complete type here now ...at least with VS 2022 Preview 17.6.0 Preview 3.0 and --with-latest-c++, > C:\PROGRA~1\MICROS~3\2022\Preview\VC\Tools\MSVC\1436~1.323\Include\span(78): error C2036: 'const XMLPropertyState *': unknown size > C:\PROGRA~1\MICROS~3\2022\Preview\VC\Tools\MSVC\1436~1.323\Include\span(73): note: while compiling class template member function 'std::_Span_iterator<_Ty> &std::_Span_iterator<_Ty>::operator --(void) noexcept' > with > [ > _Ty=const XMLPropertyState > ] > C:\PROGRA~1\MICROS~3\2022\Preview\VC\Tools\MSVC\1436~1.323\Include\xutility(1414): note: see the first reference to 'std::_Span_iterator<_Ty>::operator --' in 'std::iter_move' > with > [ > _Ty=const XMLPropertyState > ] > C:\PROGRA~1\MICROS~3\2022\Preview\VC\Tools\MSVC\1436~1.323\Include\xutility(474): note: see the first reference to 'std::iter_move' in 'std::ranges::_Iter_move::_Cpo::operator ()' > C:\PROGRA~1\MICROS~3\2022\Preview\VC\Tools\MSVC\1436~1.323\Include\__msvc_iter_core.hpp(392): note: see reference to class template instantiation 'std::_Span_iterator<_Ty>' being compiled > with > [ > _Ty=const XMLPropertyState > ] > C:\PROGRA~1\MICROS~3\2022\Preview\VC\Tools\MSVC\1436~1.323\Include\xutility(602): note: see reference to variable template 'bool input_or_output_iterator<std::_Span_iterator<XMLPropertyState const > >' being compiled > C:\PROGRA~1\MICROS~3\2022\Preview\VC\Tools\MSVC\1436~1.323\Include\xutility(1778): note: see reference to variable template 'bool input_iterator<std::_Span_iterator<XMLPropertyState const > >' being compiled > include\xmloff/txtparae.hxx(390): note: see reference to class template instantiation 'std::span<const XMLPropertyState,18446744073709551615>' being compiled Change-Id: Ib5f32df4a696dd1077c171662da48909dad09e33 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150386 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/include/xmloff/txtparae.hxx b/include/xmloff/txtparae.hxx index 8a8bc37c1cf5..5314a85c0cb2 100644 --- a/include/xmloff/txtparae.hxx +++ b/include/xmloff/txtparae.hxx @@ -25,6 +25,7 @@ #include <xmloff/dllapi.h> #include <rtl/ustring.hxx> #include <com/sun/star/uno/Reference.h> +#include <xmloff/maptype.hxx> #include <xmloff/styleexp.hxx> #include <xmloff/xmltoken.hxx> #include <xmloff/SinglePropertySetInfoCache.hxx> @@ -41,7 +42,6 @@ class XMLTextNumRuleInfo; class XMLSectionExport; class XMLIndexMarkExport; class XMLRedlineExport; -struct XMLPropertyState; class MultiPropertySetHelper; enum class XMLShapeExportFlags; class SvXMLExportPropertyMapper; @@ -533,6 +533,7 @@ public: private: XMLTextParagraphExport(XMLTextParagraphExport const &) = delete; + }; inline const XMLTextListAutoStylePool&