Kaydet (Commit) 8c536baf authored tarafından David Tardon's avatar David Tardon

do not use obsolete OSL_VERIFY macro

Change-Id: I8efdd4933d3e47c5e086dc4a4685110390d6b6e8
üst 238d6ac8
......@@ -256,8 +256,8 @@ void DBTypeConversion::setValue(const Reference<XColumnUpdate>& xVariant,
if(xFormatTypes.is())
{
css::lang::Locale loc;
OSL_VERIFY(xFormats->getByKey(nKeyToUse)->getPropertyValue("Locale") >>= loc);
nStandardKey = xFormatTypes->getStandardIndex(loc);
if (xFormats->getByKey(nKeyToUse)->getPropertyValue("Locale") >>= loc)
nStandardKey = xFormatTypes->getStandardIndex(loc);
}
// Why use nStandardKey rather than nKeyToUse here? Don't know, but "it was always like that".
// Previously had hardcoded 0 instead of nStandardKey, which led to problems with dates
......
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