diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-12-15 14:03:01 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-12-16 21:20:08 +0100 |
commit | f958657cc5a179a2bccff06f88cd36f80b779184 (patch) | |
tree | e5d9eda71d9a2add0c1576ca36a1d5d2b778446a /tools/inc/tools/diagnose_ex.h | |
parent | bacafe9a07cb2af737b99641efc9cddf55340837 (diff) |
gcc-trunk: fix error: unable to find string literal operator 'operator"" FOO'
Diffstat (limited to 'tools/inc/tools/diagnose_ex.h')
-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 |