connectivity/source/commontools/FValue.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit ba84f9ce04172806d685ee0d21856827874c7a66 Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Apr 25 16:30:35 2016 +0200 Cannot extract Any to sal_uInt32 ...which has the same underlying type as sal_Bool Change-Id: If0548d2830b5924dec06e487c83a468fe8567c87 diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx index b9d6fc9..68b5aa4 100644 --- a/connectivity/source/commontools/FValue.cxx +++ b/connectivity/source/commontools/FValue.cxx @@ -1215,7 +1215,10 @@ sal_uInt8 ORowSetValue::getUInt8() const default: { Any aValue = makeAny(); - aValue >>= nRet; + // Cf. "There is no TypeClass_UNSIGNED_BYTE" in makeAny: + sal_uInt16 n; + aValue >>= n; + nRet = static_cast<sal_uInt8>(n); break; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits