filter/source/config/cache/filtercache.hxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b1c88800c2e3e6a509ba08050c7e65ce7d0e693a
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Apr 14 08:34:40 2023 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Fri Apr 14 13:31:25 2023 +0200

    NamedValue 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 com::sun::star::beans::NamedValue *': 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 com::sun::star::beans::NamedValue
    > ]
    > 
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 com::sun::star::beans::NamedValue
    > ]
    > 
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 com::sun::star::beans::NamedValue
    > ]
    > 
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<com::sun::star::beans::NamedValue 
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<com::sun::star::beans::NamedValue const > >' 
being compiled
    > filter\source\config\cache\filtercache.hxx(368): note: see reference to 
class template instantiation 'std::span<const 
com::sun::star::beans::NamedValue,18446744073709551615>' being compiled
    
    Change-Id: Ibff530be810f56a1f33bf78f0d2e3b76c64b08cd
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150385
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/filter/source/config/cache/filtercache.hxx 
b/filter/source/config/cache/filtercache.hxx
index 80db28b66505..a48e3df62767 100644
--- a/filter/source/config/cache/filtercache.hxx
+++ b/filter/source/config/cache/filtercache.hxx
@@ -23,6 +23,7 @@
 #include <mutex>
 
 #include "cacheitem.hxx"
+#include <com/sun/star/beans/NamedValue.hpp>
 #include <com/sun/star/util/URL.hpp>
 #include <com/sun/star/uno/XInterface.hpp>
 #include <com/sun/star/container/XNameAccess.hpp>

Reply via email to