[PATCH 1/3] ORowSetValue::setTypeKind: correctly convert to (C)LOB/OBJECT/OTHER
Lionel Elie Mamane
lionel at mamane.lu
Thu Feb 16 00:06:26 PST 2012
as opposed to crashing
---
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 93a8c9d..acd1ef0 100644
--- a/connectivity/source/commontools/FValue.cxx
+++ b/connectivity/source/commontools/FValue.cxx
@@ -254,11 +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!");
}
}
--
1.7.7.3
--3V7upXqbjpZ4EhLz
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0003-fdo-46163-convert-bound-values-to-bound-column-s-typ.patch"
More information about the LibreOffice
mailing list