summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/FValue.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx
index 02ba27f5b195..25fa780f310d 100644
--- a/connectivity/source/commontools/FValue.cxx
+++ b/connectivity/source/commontools/FValue.cxx
@@ -1024,12 +1024,7 @@ OUString ORowSetValue::getString( ) const
aRet = OUString::number(static_cast<bool>(*this));
break;
case DataType::BOOLEAN:
- // This would be the natural choice,
- // but historically it was converted to "0" or "1".
- // For backwards compatibility, continue doing that.
- // aRet = OUString::boolean(static_cast<bool>(*this));
- BOOST_STATIC_ASSERT((boost::is_same< sal_Bool, sal_uInt8 >::value));
- aRet = OUString::number(static_cast<sal_Bool>(*this));
+ aRet = OUString::boolean(static_cast<bool>(*this));
break;
case DataType::TINYINT:
case DataType::SMALLINT: