diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-03 14:38:11 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-13 16:50:40 +0100 |
commit | adf9c047ac0e40d801f50bab8e8260be6c90a277 (patch) | |
tree | 9ad4440edbebe7b84399e98df7cefb8ee024d1b3 /xmloff | |
parent | b228332fe618b8776acec235f8d4cfce9a012bba (diff) |
Move DBG_ERROR to OSL_FAIL for getStr()
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/script/XMLEventExport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/script/XMLEventExport.cxx b/xmloff/source/script/XMLEventExport.cxx index f4b9b19ea32e..81744df9c792 100644 --- a/xmloff/source/script/XMLEventExport.cxx +++ b/xmloff/source/script/XMLEventExport.cxx @@ -159,7 +159,7 @@ void XMLEventExport::Export( Reference<XNameAccess> & rAccess, // don't proceed further ::rtl::OString aStr("Unknown event name:" ); aStr += ::rtl::OUStringToOString( aNames[i], RTL_TEXTENCODING_UTF8 ); - DBG_ERROR( aStr.getStr() ); + OSL_FAIL( aStr.getStr() ); } #endif } @@ -209,7 +209,7 @@ void XMLEventExport::ExportSingleEvent( // don't proceed further ::rtl::OString aStr("Unknown event name:" ); aStr += ::rtl::OUStringToOString( rApiEventName, RTL_TEXTENCODING_UTF8 ); - DBG_ERROR( aStr.getStr() ); + OSL_FAIL( aStr.getStr() ); } #endif } |