include/xmloff/shapeimport.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5fd256977b7caf0524e4eb3d9befcddeae4562d9 Author: Stephan Bergmann <[email protected]> AuthorDate: Mon Feb 23 10:38:09 2026 +0100 Commit: Stephan Bergmann <[email protected]> CommitDate: Mon Feb 23 13:39:20 2026 +0100 SvXMLImportPropertyMapper appears to be required to be a complete type here ...contrary to what 0a42ddbdf1d9261a6c5814fcfad9dcef06287189 "tdf#146619 Use more forward declarations in include/xmloff" apparently assumed, as seen at least with recent Clang 23 trunk against recent libstdc++ 16 trunk, > In file included from xmloff/source/chart/SchXMLParagraphContext.cxx:21: > In file included from xmloff/source/chart/SchXMLParagraphContext.hxx:21: > In file included from include/xmloff/xmlictxt.hxx:28: > In file included from workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/xml/sax/XFastContextHandler.hpp:6: > In file included from workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/xml/sax/XFastContextHandler.hdl:6: > In file included from workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XInterface.hdl:6: > In file included from include/com/sun/star/uno/Any.h:30: > In file included from include/rtl/ustring.hxx:45: > In file included from include/rtl/string.hxx:51: > In file included from include/rtl/stringconcat.hxx:22: > In file included from ~/gcc/inst/lib/gcc/x86_64-pc-linux-gnu/16.0.1/../../../../include/c++/16.0.1/memory:80: > ~/gcc/inst/lib/gcc/x86_64-pc-linux-gnu/16.0.1/../../../../include/c++/16.0.1/bits/unique_ptr.h:90:16: error: invalid application of 'sizeof' to an incomplete type 'SvXMLImportPropertyMapper' > 90 | static_assert(sizeof(_Tp)>0, > | ^~~~~~~~~~~ > ~/gcc/inst/lib/gcc/x86_64-pc-linux-gnu/16.0.1/../../../../include/c++/16.0.1/bits/unique_ptr.h:398:4: note: in instantiation of member function 'std::default_delete<SvXMLImportPropertyMapper>::operator()' requested here > 398 | get_deleter()(std::move(__ptr)); > | ^ > include/xmloff/shapeimport.hxx:153:62: note: in instantiation of member function 'std::unique_ptr<SvXMLImportPropertyMapper>::~unique_ptr' requested here > 153 | std::unique_ptr<SvXMLImportPropertyMapper> pExtMapper={} ); > | ^ > include/xmloff/txtimp.hxx:34:7: note: forward declaration of 'SvXMLImportPropertyMapper' > 34 | class SvXMLImportPropertyMapper; > | ^ Change-Id: I58fec903631d04dd7a89e599cf745115cdab22bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200036 Reviewed-by: Stephan Bergmann <[email protected]> Tested-by: Jenkins diff --git a/include/xmloff/shapeimport.hxx b/include/xmloff/shapeimport.hxx index 4eafbb99a7d4..e69919048c7b 100644 --- a/include/xmloff/shapeimport.hxx +++ b/include/xmloff/shapeimport.hxx @@ -22,6 +22,7 @@ #include <sal/config.h> #include <xmloff/dllapi.h> +#include <xmloff/xmlimppr.hxx> #include <com/sun/star/drawing/HomogenMatrix.hpp> #include <salhelper/simplereferenceobject.hxx> #include <xmloff/xmlictxt.hxx> @@ -39,7 +40,6 @@ namespace com::sun::star::drawing { class XShapes; } namespace com::sun::star::frame { class XModel; } class SvXMLImport; -class SvXMLImportPropertyMapper; class SvXMLStylesContext; class XMLSdPropHdlFactory; class XMLTableImport;
