diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-24 12:04:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-24 12:05:20 +0100 |
commit | 266fa9f4f7bd536967c0430b67b203496930e250 (patch) | |
tree | 93c1c7f1c13c931a8740c10fa32fb1d57aea6548 /stoc/source | |
parent | a1b89677b79aa17db78e8eee010dea280c0f92a0 (diff) |
fVal->nVal
Change-Id: Ia5b041094f29e42cb60f2c83888cace42b91cc13
Diffstat (limited to 'stoc/source')
-rw-r--r-- | stoc/source/typeconv/convert.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stoc/source/typeconv/convert.cxx b/stoc/source/typeconv/convert.cxx index 1a6a081c235f..3a0e12763dce 100644 --- a/stoc/source/typeconv/convert.cxx +++ b/stoc/source/typeconv/convert.cxx @@ -391,15 +391,15 @@ sal_Int64 TypeConverter_Impl::toHyper( const Any& rAny, sal_Int64 min, sal_uInt6 // STRING case TypeClass_STRING: { - sal_Int64 fVal = SAL_CONST_INT64(0); - if (! getHyperValue( fVal, *(OUString const *)rAny.getValue() )) + sal_Int64 nVal = SAL_CONST_INT64(0); + if (! getHyperValue( nVal, *(OUString const *)rAny.getValue() )) { throw CannotConvertException( "invalid STRING value!", Reference<XInterface>(), aDestinationClass, FailReason::IS_NOT_NUMBER, 0 ); } - nRet = fVal; - if (fVal >= min && (fVal < 0 || ((sal_uInt64)fVal) <= max)) + nRet = nVal; + if (nVal >= min && (nVal < 0 || ((sal_uInt64)nVal) <= max)) return nRet; throw CannotConvertException( "STRING value out of range!", |