diff options
author | Szabolcs Dezsi <dezsiszabi@hotmail.com> | 2012-04-06 19:49:53 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-04-06 20:03:42 +0200 |
commit | d6bc02f8c4cd0f50f0a2631ac7634dab408efc1f (patch) | |
tree | b5a12df1fcae025715633469b75ab4c9b6f6d279 /sal/rtl | |
parent | 0e1c0587617e0a6e4295a13599e97cdf6d1d2ea9 (diff) |
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Diffstat (limited to 'sal/rtl')
-rw-r--r-- | sal/rtl/source/bootstrap.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sal/rtl/source/bootstrap.cxx b/sal/rtl/source/bootstrap.cxx index 0869366e5660..1d3f05209add 100644 --- a/sal/rtl/source/bootstrap.cxx +++ b/sal/rtl/source/bootstrap.cxx @@ -810,8 +810,7 @@ rtl::OUString expandMacros( if (n == 1) { buf.append(lookup(file, mode, false, seg[0], requestStack)); } else if (n == 2) { - if (seg[0].equalsAsciiL( - RTL_CONSTASCII_STRINGPARAM(".link"))) + if ( seg[0] == ".link" ) { osl::File f(seg[1]); rtl::ByteSequence seq; @@ -843,8 +842,7 @@ rtl::OUString expandMacros( rtl::Bootstrap(seg[0]).getHandle()), mode, false, seg[1], requestStack)); } - } else if (seg[0].equalsAsciiL( - RTL_CONSTASCII_STRINGPARAM(".override"))) + } else if ( seg[0] == ".override" ) { rtl::Bootstrap b(seg[1]); Bootstrap_Impl * f = static_cast< Bootstrap_Impl * >( |