diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-16 13:57:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-16 14:00:23 +0200 |
commit | 6003732e3b7d58c60a36634c56673ec60cbe8180 (patch) | |
tree | 3bec1e286942899db839bdc53e61d2acedad20b9 /ucb | |
parent | d291fb6f283084e173165c577a531d8148d05fb6 (diff) |
loplugin:simplifybool
Change-Id: I164b62e2c98fad49d581b2ee282b6329b83bdbfb
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/core/ucbcmds.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/core/ucbcmds.cxx b/ucb/source/core/ucbcmds.cxx index 2c652e2e18b3..0669335e981b 100644 --- a/ucb/source/core/ucbcmds.cxx +++ b/ucb/source/core/ucbcmds.cxx @@ -1483,7 +1483,7 @@ void globalTransfer_( // break; case OVERWRITE: - OSL_ENSURE( aArg.ReplaceExisting == sal_False, + OSL_ENSURE( !aArg.ReplaceExisting, "Hu? ReplaceExisting already true?" ); aArg.ReplaceExisting = sal_True; diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index 88d780d56645..8862b42ce30a 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -2590,7 +2590,7 @@ void Content::transfer( xResAccess->getSessionFactory(), sourceURI.GetURI() ); - if ( rArgs.MoveData == sal_True ) + if ( rArgs.MoveData ) { uno::Reference< ucb::XContentIdentifier > xId = new ::ucbhelper::ContentIdentifier( rArgs.SourceURL ); |