diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-04 20:59:09 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-11 23:46:24 +0100 |
commit | 4849046983319b9ef75d28deaeeb62763198ed97 (patch) | |
tree | 86d25907e36389c18574861eb76a89fd52170a66 | |
parent | 916adbef625e7a79a053c37239a480c76290ba49 (diff) |
Move DBG_ERROR to OSL_FAIL and correct OString usage
-rw-r--r-- | extensions/source/dbpilots/gridwizard.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/dbpilots/gridwizard.cxx b/extensions/source/dbpilots/gridwizard.cxx index dc8f4b704..14df7453b 100644 --- a/extensions/source/dbpilots/gridwizard.cxx +++ b/extensions/source/dbpilots/gridwizard.cxx @@ -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() ); } } } |