summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2012-02-16 09:06:26 +0100
committerPetr Mladek <pmladek@suse.cz>2012-02-21 12:47:17 +0100
commitb5f33bb8fa14afa17c4694d587215cab4756aa1f (patch)
tree571d5589b5339adbc50b388917c0f86d9a6df710
parent065cdf07791b2de4c6ab580084d21d2b5020ca98 (diff)
ORowSetValue::setTypeKind: correctly convert to (C)LOB/OBJECT/OTHER
as opposed to crashing Signed-off-by: Petr Mladek <pmladek@suse.cz>
-rw-r--r--connectivity/source/commontools/FValue.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx
index bfa3b12a520a..444e2bc3881d 100644
--- a/connectivity/source/commontools/FValue.cxx
+++ b/connectivity/source/commontools/FValue.cxx
@@ -254,10 +254,10 @@ void ORowSetValue::setTypeKind(sal_Int32 _eType)
case DataType::CLOB:
case DataType::OBJECT:
case DataType::OTHER:
- (*this) = getAny();
+ (*this) = makeAny();
break;
default:
- (*this) = getAny();
+ (*this) = makeAny();
OSL_FAIL("ORowSetValue:operator==(): UNSPUPPORTED TYPE!");
}
}