diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-25 16:30:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-25 16:30:35 +0200 |
commit | ba84f9ce04172806d685ee0d21856827874c7a66 (patch) | |
tree | d0e04758ed8d171bbc2caa691eabc6bd648f75a9 /connectivity | |
parent | 7e0eeacd1d1aa4c8643f1f490cdd5102ee0434a8 (diff) |
Cannot extract Any to sal_uInt32
...which has the same underlying type as sal_Bool
Change-Id: If0548d2830b5924dec06e487c83a468fe8567c87
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/commontools/FValue.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx index b9d6fc9f3e9b..68b5aa4bbe3d 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; } } |