diff options
Diffstat (limited to 'include/tools/diagnose_ex.h')
-rw-r--r-- | include/tools/diagnose_ex.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/tools/diagnose_ex.h b/include/tools/diagnose_ex.h index f41670b7343f..530af9d6efe1 100644 --- a/include/tools/diagnose_ex.h +++ b/include/tools/diagnose_ex.h @@ -79,14 +79,14 @@ inline css::uno::Any DbgGetCaughtException() OSL_ENSURE(c, m); \ throw css::lang::IllegalArgumentException( \ __func__ \ - + OUStringLiteral(u",\n" m), \ + + OUString::Concat(u",\n" m), \ css::uno::Reference< css::uno::XInterface >(), \ 0 ); } #define ENSURE_ARG_OR_THROW2(c, m, ifc, arg) if( !(c) ) { \ OSL_ENSURE(c, m); \ throw css::lang::IllegalArgumentException( \ __func__ \ - + OUStringLiteral(u",\n" m), \ + + OUString::Concat(u",\n" m), \ ifc, \ arg ); } @@ -97,14 +97,14 @@ inline css::uno::Any DbgGetCaughtException() if( !(c) ){ \ OSL_ENSURE(c, m); \ throw css::uno::RuntimeException( \ - __func__ + OUStringLiteral(u",\n" m), \ + __func__ + OUString::Concat(u",\n" m), \ css::uno::Reference< css::uno::XInterface >() ); } #define ENSURE_OR_THROW2(c, m, ifc) \ if( !(c) ) { \ OSL_ENSURE(c, m); \ throw css::uno::RuntimeException( \ - __func__ + OUStringLiteral(u",\n" m), \ + __func__ + OUString::Concat(u",\n" m), \ ifc ); } /** This macro asserts the given condition (in debug mode), and |