Kaydet (Commit) 238d6ac8 authored tarafından David Tardon's avatar David Tardon

this assert does not make sense

... as the code apparently can work even if xFormatTypes is empty.

Change-Id: I6b733b9b31329d4fafc745bc23d0f555286950e6
üst 0a42632a
......@@ -252,7 +252,6 @@ void DBTypeConversion::setValue(const Reference<XColumnUpdate>& xVariant,
double fValue = xFormatter->convertStringToNumber(nKeyToUse, rString);
Reference< XNumberFormats > xFormats(xFormatter->getNumberFormatsSupplier()->getNumberFormats());
Reference< XNumberFormatTypes > xFormatTypes(xFormats, UNO_QUERY);
assert(xFormatTypes.is());
sal_Int32 nStandardKey(0);
if(xFormatTypes.is())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment