summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-12-15 14:03:01 +0100
committerDavid Tardon <dtardon@redhat.com>2012-01-06 08:32:19 +0100
commit58fb44a30df863d4ee1c4eb6931d9d15947187a1 (patch)
treeefc1277ec9539aaf5607d43836eb82b4d807db1a /tools
parenta6dc4b7a1e2fcbe478bc7feae06bc9ff24b26aaf (diff)
gcc-trunk: fix error: unable to find string literal operator 'operator"" FOO'
Signed-off-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/diagnose_ex.h8
-rw-r--r--tools/source/stream/stream.cxx4
2 files changed, 6 insertions, 6 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
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index 48798c544061..3e870b45ac56 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -1884,7 +1884,7 @@ void SvStream::RefreshBuffer()
SvStream& SvStream::WriteNumber(sal_Int32 nInt32)
{
char buffer[12];
- sal_Size nLen = sprintf(buffer, "%"SAL_PRIdINT32, nInt32);
+ sal_Size nLen = sprintf(buffer, "%" SAL_PRIdINT32, nInt32);
Write(buffer, nLen);
return *this;
}
@@ -1892,7 +1892,7 @@ SvStream& SvStream::WriteNumber(sal_Int32 nInt32)
SvStream& SvStream::WriteNumber(sal_uInt32 nUInt32)
{
char buffer[11];
- sal_Size nLen = sprintf(buffer, "%"SAL_PRIuUINT32, nUInt32);
+ sal_Size nLen = sprintf(buffer, "%" SAL_PRIuUINT32, nUInt32);
Write(buffer, nLen);
return *this;
}