diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-20 11:45:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-20 13:56:07 +0200 |
commit | d894fee80e40519cb579987b95cb3d19345dfa71 (patch) | |
tree | f0b91e37171f4123d3528b681613c99f34509d2e /sc/source/ui/Accessibility | |
parent | 5112f6a6c6e4cd76045f31e269a679b50dc83fb2 (diff) |
remove RTL_CONSTASCII_STRINGPARAM in OStringBuffer constructor
Convert code like:
OStringBuffer aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX"));
to:
OStringBuffer aKeyName("NDX");
which compiles down to the same code
Change-Id: If9c96a290bc18cc8285fb733f27be58c6958b63c
Diffstat (limited to 'sc/source/ui/Accessibility')
-rw-r--r-- | sc/source/ui/Accessibility/DrawModelBroadcaster.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/DrawModelBroadcaster.cxx b/sc/source/ui/Accessibility/DrawModelBroadcaster.cxx index 58c219857c18..0d7bcf50f821 100644 --- a/sc/source/ui/Accessibility/DrawModelBroadcaster.cxx +++ b/sc/source/ui/Accessibility/DrawModelBroadcaster.cxx @@ -74,8 +74,7 @@ void ScDrawModelBroadcaster::Notify( SfxBroadcaster&, { (void) r; #if OSL_DEBUG_LEVEL > 1 - OStringBuffer aError(RTL_CONSTASCII_STRINGPARAM( - "Runtime exception caught while notifying shape.:\n")); + OStringBuffer aError("Runtime exception caught while notifying shape.:\n"); aError.append(OUStringToOString(r.Message, RTL_TEXTENCODING_ASCII_US)); OSL_FAIL( aError.getStr() ); #endif |