diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-13 12:43:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-13 15:20:58 +0200 |
commit | 3697b87b70c69e17e1d0398e0192a11dab179fe3 (patch) | |
tree | a498cce1f1351e6f92385aa9245c66c0724b6430 /sal/rtl | |
parent | 9bc95521aaa35b533894b3934519acdbd7a47815 (diff) |
use more OUString::operator== in forms..sal
Change-Id: I70d7e50f8c1e019524ccad915f0cca912c5035dc
Reviewed-on: https://gerrit.libreoffice.org/39899
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal/rtl')
-rw-r--r-- | sal/rtl/bootstrap.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx index c3d2be34e322..172a5a3e6952 100644 --- a/sal/rtl/bootstrap.cxx +++ b/sal/rtl/bootstrap.cxx @@ -198,7 +198,7 @@ static bool getFromCommandLineArgs( ii != pNameValueList->end() ; ++ii ) { - if( (*ii).sName.equals(key) ) + if( (*ii).sName == key ) { *value = (*ii).sValue; found = true; @@ -341,7 +341,7 @@ Bootstrap_Impl::Bootstrap_Impl( OUString const & rIniName ) dirItem.getFileStatus( status ) == DirectoryItem::E_None) { base_ini = status.getFileURL(); - if (! rIniName.equals( base_ini )) + if ( rIniName != base_ini ) { _base_ini = static_cast< Bootstrap_Impl * >( rtl_bootstrap_args_open( base_ini.pData ) ); @@ -765,7 +765,7 @@ void SAL_CALL rtl_bootstrap_set ( NameValueList::iterator iEnd( r_rtl_bootstrap_set_list.end() ); for ( ; iPos != iEnd; ++iPos ) { - if (iPos->sName.equals( name )) + if (iPos->sName == name) { iPos->sValue = value; return; |