diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-15 21:59:24 +0100 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-03-16 17:12:27 +0000 |
commit | 37d2588844889da97dcbd5b1a5141797f5c33d4f (patch) | |
tree | e50ee27df2ed9786f4f41a19116d8c0416492216 /tools/inc | |
parent | Remove STRINGPARAM in tools (qa) (diff) | |
download | core-37d2588844889da97dcbd5b1a5141797f5c33d4f.tar.gz core-37d2588844889da97dcbd5b1a5141797f5c33d4f.zip |
Remove RTL_CONSTASCII_(U)STRINGPARAM in tools
Change-Id: Id97070321ad6b20f349896d3b4e1ae51cc82ece7
Reviewed-on: https://gerrit.libreoffice.org/2769
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'tools/inc')
-rw-r--r-- | tools/inc/tools/diagnose_ex.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/inc/tools/diagnose_ex.h b/tools/inc/tools/diagnose_ex.h index 11afdd26353a..84afc7bf3fe6 100644 --- a/tools/inc/tools/diagnose_ex.h +++ b/tools/inc/tools/diagnose_ex.h @@ -95,15 +95,15 @@ #define ENSURE_ARG_OR_THROW(c, m) 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 )), \ + OUString(BOOST_CURRENT_FUNCTION) + \ + OUString( ",\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 )), \ + OUString(BOOST_CURRENT_FUNCTION) + \ + OUString( ",\n" m ), \ ifc, \ arg ); } @@ -114,16 +114,16 @@ if( !(c) ){ \ 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 )), \ + OUString(BOOST_CURRENT_FUNCTION) + \ + OUString( ",\n" m ), \ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() ); } #define ENSURE_OR_THROW2(c, m, ifc) \ if( !(c) ) { \ 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 )), \ + OUString(BOOST_CURRENT_FUNCTION) + \ + OUString( ",\n" m ), \ ifc ); } /** This macro asserts the given condition (in debug mode), and |