codemaker/source/rustmaker/rustproduce.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 8985ebd92eecb2c2f3a5e7d78bfac9ce8eb0e850
Author:     Rene Engelhard <[email protected]>
AuthorDate: Sat Nov 8 11:48:28 2025 +0100
Commit:     René Engelhard <[email protected]>
CommitDate: Sat Nov 8 19:31:30 2025 +0100

    fix --enable-rust-uno build after 
fd2e467ba3320c99d8f4856784c7ccd0912a08a7(?)
    
    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 <[email protected]>

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 <codemaker/typemanager.hxx>
+#include <codemaker/unotype.hxx>
 #include <sal/log.hxx>
 #include <iostream>
 #include <set>

Reply via email to