diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-08 15:02:31 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-10 08:09:00 +0000 |
commit | 54013188b24a1a02491a2853f731461253065424 (patch) | |
tree | 45078e1deb8bdfdde79a431daa81fde7c47621ad /sal/osl/all | |
parent | fd2749455fe25e24b448a44f9ada6113e5ac0d13 (diff) |
cleanup some unnecessary direct usage of the OString/OUString C API.
Change-Id: I6edee95aae1c169ce70063562a0c1b287e0c4735
Reviewed-on: https://gerrit.libreoffice.org/16861
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sal/osl/all')
-rw-r--r-- | sal/osl/all/debugbase.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/osl/all/debugbase.cxx b/sal/osl/all/debugbase.cxx index ae097ee891b1..0f233f8b637b 100644 --- a/sal/osl/all/debugbase.cxx +++ b/sal/osl/all/debugbase.cxx @@ -91,8 +91,7 @@ bool SAL_CALL osl_detail_ObjectRegistry_storeAddresses( char const* pName ) return false; // check for "all": rtl::OString const& rFirst = rVec[0]; - if (rtl_str_compare_WithLength( rFirst.getStr(), rFirst.getLength(), - RTL_CONSTASCII_STRINGPARAM("all") ) == 0) + if ( rFirst == "all" ) return true; OStringVec::const_iterator const iEnd( rVec.end() ); return std::find_if( rVec.begin(), iEnd, |