diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2012-02-16 09:06:26 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2012-02-16 13:33:03 +0100 |
commit | aef29c37fbe2bf2d248048c699972fb9e0ac2b4e (patch) | |
tree | 6491685f58610026cad48d6d702f6c02bd6c98a7 /connectivity | |
parent | typo & copy/paste error in error message (diff) | |
download | core-aef29c37fbe2bf2d248048c699972fb9e0ac2b4e.tar.gz core-aef29c37fbe2bf2d248048c699972fb9e0ac2b4e.zip |
ORowSetValue::setTypeKind: correctly convert to (C)LOB/OBJECT/OTHER
as opposed to crashing
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/commontools/FValue.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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!"); } } |