From 8985ebd92eecb2c2f3a5e7d78bfac9ce8eb0e850 Mon Sep 17 00:00:00 2001 From: Rene Engelhard Date: Sat, 8 Nov 2025 11:48:28 +0100 Subject: [PATCH] fix --enable-rust-uno build after fd2e467ba3320c99d8f4856784c7ccd0912a08a7(?) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit as in fd2e467ba3320c99d8f4856784c7ccd0912a08a7 for netproduce.cxx /home/rene/LibreOffice/git/master/codemaker/source/rustmaker/rustproduce.cxx: In member function ‘rtl::OString RustProducer::resolveTypedef(std::u16string_view) const’: /home/rene/LibreOffice/git/master/codemaker/source/rustmaker/rustproduce.cxx:1421:43: error: ‘Typedef’ is not a member of ‘codemaker::UnoType::Sort’ 1421 | if (sort == codemaker::UnoType::Sort::Typedef) | ^~~~~~~ /home/rene/LibreOffice/git/master/codemaker/source/rustmaker/rustproduce.cxx: In member function ‘bool RustProducer::isUnoInterface(std::u16string_view) const’: /home/rene/LibreOffice/git/master/codemaker/source/rustmaker/rustproduce.cxx:1713:46: error: ‘Interface’ is not a member of ‘codemaker::UnoType::Sort’ 1713 | return sort == codemaker::UnoType::Sort::Interface; | ^~~~~~~~~ /home/rene/LibreOffice/git/master/codemaker/source/rustmaker/rustproduce.cxx: In member function ‘bool RustProducer::isUnoStruct(std::u16string_view) const’: /home/rene/LibreOffice/git/master/codemaker/source/rustmaker/rustproduce.cxx:1721:46: error: ‘PlainStruct’ is not a member of ‘codemaker::UnoType::Sort’ 1721 | return sort == codemaker::UnoType::Sort::PlainStruct; | ^~~~~~~~~~~ /home/rene/LibreOffice/git/master/codemaker/source/rustmaker/rustproduce.cxx: In member function ‘bool RustProducer::isUnoEnum(std::u16string_view) const’: /home/rene/LibreOffice/git/master/codemaker/source/rustmaker/rustproduce.cxx:1729:46: error: ‘Enum’ is not a member of ‘codemaker::UnoType::Sort’ 1729 | return sort == codemaker::UnoType::Sort::Enum; | ^~~~ Change-Id: I36c97fcfec14fb075d67aa4e1550dadba7499aa0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193621 Tested-by: Jenkins Reviewed-by: René Engelhard --- codemaker/source/rustmaker/rustproduce.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/codemaker/source/rustmaker/rustproduce.cxx b/codemaker/source/rustmaker/rustproduce.cxx index 968ae42f8f82..b6da46888a16 100644 --- a/codemaker/source/rustmaker/rustproduce.cxx +++ b/codemaker/source/rustmaker/rustproduce.cxx @@ -10,6 +10,7 @@ #include "rustproduce.hxx" #include "rustfile.hxx" #include +#include #include #include #include