Move DBG_ERROR to OSL_FAIL and correct OString usage

This commit is contained in:
Thomas Arnhold 2011-03-04 20:59:09 +01:00
parent 291042fc2d
commit f25b58fcc9

View file

@ -227,9 +227,9 @@ namespace dbp
}
catch(Exception&)
{
DBG_ERROR( ::rtl::OString("OGridWizard::implApplySettings: unexpected exception while creating the grid column for field ")
+= ::rtl::OString(pFormFieldName->getStr(), pFormFieldName->getLength(), gsl_getSystemTextEncoding())
+= ::rtl::OString("!"));
OSL_FAIL( ( ::rtl::OString("OGridWizard::implApplySettings: unexpected exception while creating the grid column for field ")
+= ::rtl::OString(pFormFieldName->getStr(), pFormFieldName->getLength(), gsl_getSystemTextEncoding())
+= ::rtl::OString("!") ).getStr() );
}
}
}