Kaydet (Commit) 6b2b689e authored tarafından Noel Grandin's avatar Noel Grandin

clang-tidy misc-string-compare

Change-Id: Ic5250563b7dc9c19771d3f728d2087ef335ceb46
Reviewed-on: https://gerrit.libreoffice.org/38279Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 06666564
......@@ -430,7 +430,7 @@ namespace cmis
}
catch( const libcmis::Exception & e )
{
if ( e.getType().compare( "permissionDenied" ) != 0 )
if ( e.getType() != "permissionDenied" )
throw;
}
}
......
......@@ -212,7 +212,7 @@ namespace cmis
{
SAL_INFO( "ucb.ucp.cmis", "Error getting repositories: " << e.what() );
if ( e.getType().compare( "permissionDenied" ) != 0 )
if ( e.getType() != "permissionDenied" )
{
ucbhelper::cancelCommandExecution(
ucb::IOErrorCode_INVALID_DEVICE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment