[Libreoffice-commits] core.git: connectivity/source
Lionel Elie Mamane
lionel at mamane.lu
Sat Apr 25 10:40:18 PDT 2015
connectivity/source/commontools/FValue.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 062c3afd4e829692cf022c5011b2a226d21c35e4
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Sat Apr 25 19:34:58 2015 +0200
tdf#90614 oups... I was too eager in replacing getAny() with makeAny()
also handle the SQLNULL case
Change-Id: Ie7fffd6b46ed8b3dfa7231928f55743f71d2ea98
diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx
index ba02dbb..93648c1 100644
--- a/connectivity/source/commontools/FValue.cxx
+++ b/connectivity/source/commontools/FValue.cxx
@@ -885,6 +885,9 @@ Any ORowSetValue::makeAny() const
{
switch(getTypeKind())
{
+ case DataType::SQLNULL:
+ assert(rValue == Any());
+ break;
case DataType::CHAR:
case DataType::VARCHAR:
case DataType::DECIMAL:
@@ -964,7 +967,7 @@ Any ORowSetValue::makeAny() const
break;
default:
SAL_WARN( "connectivity.commontools","ORowSetValue::makeAny(): UNSUPPORTED TYPE!");
- rValue = makeAny();
+ rValue = getAny();
break;
}
}
More information about the Libreoffice-commits
mailing list