From aef29c37fbe2bf2d248048c699972fb9e0ac2b4e Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Thu, 16 Feb 2012 09:06:26 +0100 Subject: ORowSetValue::setTypeKind: correctly convert to (C)LOB/OBJECT/OTHER as opposed to crashing --- connectivity/source/commontools/FValue.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx index 93a8c9d1e9d2..acd1ef0feef5 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::setTypeKind(): UNSUPPORTED TYPE!"); } } -- cgit