[Libreoffice-commits] core.git: xmloff/source
Mike Kaganski (via logerrit)
logerrit at kemper.freedesktop.org
Mon Nov 9 13:28:46 UTC 2020
xmloff/source/forms/formlayerimport.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 8ba9ecaaad1090dafa2e3040e03e532923fd38a4
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Mon Nov 9 14:51:40 2020 +0300
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Mon Nov 9 14:28:05 2020 +0100
Fix Windows build with --disable-pch
[build CXX] xmloff/source/forms/formlayerimport.cxx
C:\lo\src\core\include\cppu/unotype.hxx(296): error C2665: 'com::sun::star::beans::cppu_detail_getUnoType': none of the 28 overloads could convert all the argum
ent types
C:\lo\src\build\workdir\UnoApiHeadersTarget\udkapi\normal\com/sun/star/beans/XVetoableChangeListener.hpp(56): note: could be 'const com::sun::star::uno::Type &c
om::sun::star::beans::cppu_detail_getUnoType(const com::sun::star::beans::XVetoableChangeListener *)' [found using argument-dependent lookup]
C:\lo\src\build\workdir\UnoApiHeadersTarget\udkapi\normal\com/sun/star/beans/XPropertySetInfo.hpp(69): note: or 'const com::sun::star::uno::Type &com::sun
::star::beans::cppu_detail_getUnoType(const com::sun::star::beans::XPropertySetInfo *)' [found using argument-dependent lookup]
C:\lo\src\build\workdir\UnoApiHeadersTarget\udkapi\normal\com/sun/star/beans/Property.hpp(81): note: or 'const com::sun::star::uno::Type &com::sun::star::
beans::cppu_detail_getUnoType(const com::sun::star::beans::Property *)' [found using argument-dependent lookup]
C:\lo\src\build\workdir\UnoApiHeadersTarget\udkapi\normal\com/sun/star/beans/XPropertyChangeListener.hpp(55): note: or 'const com::sun::star::uno::Type &c
om::sun::star::beans::cppu_detail_getUnoType(const com::sun::star::beans::XPropertyChangeListener *)' [found using argument-dependent lookup]
C:\lo\src\build\workdir\UnoApiHeadersTarget\udkapi\normal\com/sun/star/beans/PropertyChangeEvent.hpp(92): note: or 'const com::sun::star::uno::Type &com::
sun::star::beans::cppu_detail_getUnoType(const com::sun::star::beans::PropertyChangeEvent *)' [found using argument-dependent lookup]
C:\lo\src\build\workdir\UnoApiHeadersTarget\udkapi\normal\com/sun/star/beans/UnknownPropertyException.hpp(54): note: or 'const com::sun::star::uno::Type &
com::sun::star::beans::cppu_detail_getUnoType(const com::sun::star::beans::UnknownPropertyException *)' [found using argument-dependent lookup]
C:\lo\src\build\workdir\UnoApiHeadersTarget\udkapi\normal\com/sun/star/beans/PropertyVetoException.hpp(54): note: or 'const com::sun::star::uno::Type &com
::sun::star::beans::cppu_detail_getUnoType(const com::sun::star::beans::PropertyVetoException *)' [found using argument-dependent lookup]
C:\lo\src\build\workdir\UnoApiHeadersTarget\udkapi\normal\com/sun/star/beans/XPropertySet.hpp(93): note: or 'const com::sun::star::uno::Type &com::sun::st
ar::beans::cppu_detail_getUnoType(const com::sun::star::beans::XPropertySet *)' [found using argument-dependent lookup]
C:\lo\src\core\include\cppu/unotype.hxx(249): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const com::sun::star::uno::X
Interface *)'
C:\lo\src\core\include\cppu/unotype.hxx(243): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const com::sun::star::uno::E
xception *)'
C:\lo\src\core\include\cppu/unotype.hxx(217): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const com::sun::star::uno::A
ny *)'
C:\lo\src\core\include\cppu/unotype.hxx(211): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const com::sun::star::uno::T
ype *)'
C:\lo\src\core\include\cppu/unotype.hxx(206): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const rtl::OUString *)'
C:\lo\src\core\include\cppu/unotype.hxx(200): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const sal_Unicode *)'
C:\lo\src\core\include\cppu/unotype.hxx(193): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const cppu::UnoCharType *)'
C:\lo\src\core\include\cppu/unotype.hxx(188): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const double *)'
C:\lo\src\core\include\cppu/unotype.hxx(183): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const float *)'
C:\lo\src\core\include\cppu/unotype.hxx(177): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const sal_uInt64 *)'
C:\lo\src\core\include\cppu/unotype.hxx(172): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const sal_Int64 *)'
C:\lo\src\core\include\cppu/unotype.hxx(166): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const sal_uInt32 *)'
C:\lo\src\core\include\cppu/unotype.hxx(161): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const sal_Int32 *)'
C:\lo\src\core\include\cppu/unotype.hxx(155): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const sal_uInt16 *)'
C:\lo\src\core\include\cppu/unotype.hxx(145): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const cppu::UnoUnsignedShort
Type *)'
C:\lo\src\core\include\cppu/unotype.hxx(140): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const sal_Int16 *)'
C:\lo\src\core\include\cppu/unotype.hxx(135): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const sal_Int8 *)'
C:\lo\src\core\include\cppu/unotype.hxx(130): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const sal_Bool *)'
C:\lo\src\core\include\cppu/unotype.hxx(125): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const bool *)'
C:\lo\src\core\include\cppu/unotype.hxx(120): note: or 'const com::sun::star::uno::Type &cppu::detail::cppu_detail_getUnoType(const cppu::UnoVoidType *)'
C:\lo\src\core\include\cppu/unotype.hxx(296): note: while trying to match the argument list '(T1 *)'
C:\lo\src\core\include\cppu/unotype.hxx(288): note: while compiling class template member function 'const com::sun::star::uno::Type &cppu::UnoType<T>::get(void)
'
with
[
T=com::sun::star::beans::PropertyValue
]
C:\lo\src\core\include\cppu/unotype.hxx(321): note: see reference to function template instantiation 'const com::sun::star::uno::Type &cppu::UnoType<T>::get(voi
d)' being compiled
with
[
T=com::sun::star::beans::PropertyValue
]
C:\lo\src\core\include\cppu/unotype.hxx(321): note: see reference to class template instantiation 'cppu::UnoType<T>' being compiled
with
[
T=com::sun::star::beans::PropertyValue
]
C:\lo\src\core\include\com/sun/star/uno/Sequence.hxx(291): note: see reference to function template instantiation 'const com::sun::star::uno::Type &cppu::getTyp
eFavourUnsigned<com::sun::star::beans::PropertyValue>(const T *)' being compiled
with
[
T=com::sun::star::beans::PropertyValue
]
C:\lo\src\core\include\com/sun/star/uno/Sequence.hxx(117): note: see reference to function template instantiation 'const com::sun::star::uno::Type &cppu::getTyp
eFavourUnsigned<com::sun::star::beans::PropertyValue>(const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> *)' being compiled
C:\lo\src\core\include\com/sun/star/uno/Sequence.hxx(114): note: while compiling class template member function 'com::sun::star::uno::Sequence<com::sun::star::b
eans::PropertyValue>::~Sequence(void)'
C:/lo/src/core/xmloff/source/forms/formlayerimport.cxx(89): note: see reference to function template instantiation 'com::sun::star::uno::Sequence<com::sun::star
::beans::PropertyValue>::~Sequence(void)' being compiled
make[1]: *** [C:/lo/src/core/solenv/gbuild/LinkTarget.mk:301: C:/lo/src/build/workdir/CxxObject/xmloff/source/forms/formlayerimport.o] Error 2
Change-Id: Ib75f2da6393a7ba4aa1660bdf872dc4bf0fb796c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105478
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
Tested-by: Jenkins
diff --git a/xmloff/source/forms/formlayerimport.cxx b/xmloff/source/forms/formlayerimport.cxx
index 848b815f6703..e879ee5a0772 100644
--- a/xmloff/source/forms/formlayerimport.cxx
+++ b/xmloff/source/forms/formlayerimport.cxx
@@ -17,6 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <com/sun/star/beans/PropertyValue.hpp>
+
#include <xmloff/formlayerimport.hxx>
#include "layerimport.hxx"
More information about the Libreoffice-commits
mailing list