summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-03 15:27:26 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:50:40 +0100
commitf549c4f683c420395bea85383a967493d04cb690 (patch)
tree3fa3912c3263f90652470d0b0c184333460955c7 /svx
parent1c3b168ed11677a4171212f5f47483508715c333 (diff)
Move DBG_ERROR to OSL_FAIL for getStr() (multiline)
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmsrccfg.cxx4
-rw-r--r--svx/source/svdraw/svdoole2.cxx16
-rw-r--r--svx/workben/msview/xmlconfig.cxx2
3 files changed, 11 insertions, 11 deletions
diff --git a/svx/source/form/fmsrccfg.cxx b/svx/source/form/fmsrccfg.cxx
index 089c123f5e78..6ff0c99e992f 100644
--- a/svx/source/form/fmsrccfg.cxx
+++ b/svx/source/form/fmsrccfg.cxx
@@ -143,7 +143,7 @@ namespace svxform
++pSearch;
}
- DBG_ERROR(
+ OSL_FAIL(
( ::rtl::OString( "lcl_implMapAsciiValue: could not convert the ascii value " )
+= ::rtl::OString( _rAsciiValue.getStr(), _rAsciiValue.getLength(), RTL_TEXTENCODING_ASCII_US )
+= ::rtl::OString( " !" )
@@ -164,7 +164,7 @@ namespace svxform
++pSearch;
}
- DBG_ERROR(
+ OSL_FAIL(
( ::rtl::OString( "lcl_implMapIntValue: could not convert the integer value " )
+= ::rtl::OString::valueOf( (sal_Int32)_nValue )
+= ::rtl::OString( " !" )
diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx
index fe6368961991..f82ff2372597 100644
--- a/svx/source/svdraw/svdoole2.cxx
+++ b/svx/source/svdraw/svdoole2.cxx
@@ -974,7 +974,7 @@ sal_Bool SdrOle2Obj::UpdateLinkURL_Impl()
catch( ::com::sun::star::uno::Exception& e )
{
(void)e;
- DBG_ERROR(
+ OSL_FAIL(
(OString("SdrOle2Obj::UpdateLinkURL_Impl(), "
"exception caught: ") +
rtl::OUStringToOString(
@@ -1017,7 +1017,7 @@ void SdrOle2Obj::BreakFileLink_Impl()
catch( ::com::sun::star::uno::Exception& e )
{
(void)e;
- DBG_ERROR(
+ OSL_FAIL(
(OString("SdrOle2Obj::BreakFileLink_Impl(), "
"exception caught: ") +
rtl::OUStringToOString(
@@ -1069,7 +1069,7 @@ void SdrOle2Obj::CheckFileLink_Impl()
catch( ::com::sun::star::uno::Exception& e )
{
(void)e;
- DBG_ERROR(
+ OSL_FAIL(
(OString("SdrOle2Obj::CheckFileLink_Impl(), "
"exception caught: ") +
rtl::OUStringToOString(
@@ -1154,7 +1154,7 @@ void SdrOle2Obj::Connect_Impl()
catch( ::com::sun::star::uno::Exception& e )
{
(void)e;
- DBG_ERROR(
+ OSL_FAIL(
(OString("SdrOle2Obj::Connect_Impl(), "
"exception caught: ") +
rtl::OUStringToOString(
@@ -1242,7 +1242,7 @@ void SdrOle2Obj::RemoveListeners_Impl()
catch( ::com::sun::star::uno::Exception& e )
{
(void)e;
- DBG_ERROR(
+ OSL_FAIL(
(OString("SdrOle2Obj::RemoveListeners_Impl(), "
"exception caught: ") +
rtl::OUStringToOString(
@@ -1325,7 +1325,7 @@ void SdrOle2Obj::Disconnect_Impl()
catch( ::com::sun::star::uno::Exception& e )
{
(void)e;
- DBG_ERROR(
+ OSL_FAIL(
(OString("SdrOle2Obj::Disconnect_Impl(), "
"exception caught: ") +
rtl::OUStringToOString(
@@ -1383,7 +1383,7 @@ void SdrOle2Obj::SetModel(SdrModel* pNewModel)
catch( ::com::sun::star::uno::Exception& e )
{
(void)e;
- DBG_ERROR(
+ OSL_FAIL(
(OString("SdrOle2Obj::SetModel(), "
"exception caught: ") +
rtl::OUStringToOString(
@@ -1959,7 +1959,7 @@ sal_Bool SdrOle2Obj::Unload( const uno::Reference< embed::XEmbeddedObject >& xOb
catch( ::com::sun::star::uno::Exception& e )
{
(void)e;
- DBG_ERROR(
+ OSL_FAIL(
(OString("SdrOle2Obj::Unload=(), "
"exception caught: ") +
rtl::OUStringToOString(
diff --git a/svx/workben/msview/xmlconfig.cxx b/svx/workben/msview/xmlconfig.cxx
index 62f414c15460..1ee7475cc2d3 100644
--- a/svx/workben/msview/xmlconfig.cxx
+++ b/svx/workben/msview/xmlconfig.cxx
@@ -343,7 +343,7 @@ void load_config( const OUString& rPath )
}
catch( Exception& r )
{
- DBG_ERROR(
+ OSL_FAIL(
(rtl::OString("load_config(), "
"exception caught: ") +
rtl::OUStringToOString(