diff options
Diffstat (limited to 'tools/inc/tools')
-rw-r--r-- | tools/inc/tools/diagnose_ex.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/inc/tools/diagnose_ex.h b/tools/inc/tools/diagnose_ex.h index ce1b5a3d8db2..21463a66b427 100644 --- a/tools/inc/tools/diagnose_ex.h +++ b/tools/inc/tools/diagnose_ex.h @@ -102,14 +102,14 @@ OSL_ENSURE(c, m); \ throw ::com::sun::star::lang::IllegalArgumentException( \ ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(BOOST_CURRENT_FUNCTION)) + \ - ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ",\n"m )), \ + ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ",\n" m )), \ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >(), \ 0 ); } #define ENSURE_ARG_OR_THROW2(c, m, ifc, arg) if( !(c) ) { \ OSL_ENSURE(c, m); \ throw ::com::sun::star::lang::IllegalArgumentException( \ ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(BOOST_CURRENT_FUNCTION)) + \ - ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ",\n"m )), \ + ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ",\n" m )), \ ifc, \ arg ); } @@ -121,7 +121,7 @@ OSL_ENSURE(c, m); \ throw ::com::sun::star::uno::RuntimeException( \ ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(BOOST_CURRENT_FUNCTION)) + \ - ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ",\n"m )), \ + ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ",\n" m )), \ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() ); } #define ENSURE_OR_THROW2(c, m, ifc) \ @@ -129,7 +129,7 @@ OSL_ENSURE(c, m); \ throw ::com::sun::star::uno::RuntimeException( \ ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(BOOST_CURRENT_FUNCTION)) + \ - ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ",\n"m )), \ + ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ",\n" m )), \ ifc ); } /** This macro asserts the given condition (in debug mode), and |