summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-04 20:59:09 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-11 23:46:24 +0100
commitf25b58fcc9fa7b1e45908ee2a7945dde588d1bbe (patch)
tree68d7a1798c69cc8313efe7232df7a7dbcc039058 /extensions
parent291042fc2d6ba434aa87e3a6f637caea3cb690f3 (diff)
Move DBG_ERROR to OSL_FAIL and correct OString usage
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/dbpilots/gridwizard.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/dbpilots/gridwizard.cxx b/extensions/source/dbpilots/gridwizard.cxx
index 7012e876751e..bd3efcdcbf45 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() );
}
}
}