diff options
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/core/ucbcmds.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/file/filtask.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/PropertyMap.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/core/ucbcmds.cxx b/ucb/source/core/ucbcmds.cxx index eecdd5dc1fa2..bcedf21be3d6 100644 --- a/ucb/source/core/ucbcmds.cxx +++ b/ucb/source/core/ucbcmds.cxx @@ -624,11 +624,11 @@ uno::Reference< ucb::XContent > createNew( // (not a and not b) or (a and b) // not( a or b) or (a and b) - if ( ( !!bSourceIsFolder == + if ( ( bSourceIsFolder == !!( nAttribs & ucb::ContentInfoAttribute::KIND_FOLDER ) ) && - ( !!bSourceIsDocument == + ( bSourceIsDocument == !!( nAttribs & ucb::ContentInfoAttribute::KIND_DOCUMENT ) ) ) diff --git a/ucb/source/ucp/file/filtask.hxx b/ucb/source/ucp/file/filtask.hxx index f3a879958fc4..49678e57ede8 100644 --- a/ucb/source/ucp/file/filtask.hxx +++ b/ucb/source/ucp/file/filtask.hxx @@ -211,7 +211,7 @@ namespace fileaccess { bool operator()( const MyProperty& rKey1, const MyProperty& rKey2 ) const { - return !!( rKey1.getPropertyName() == rKey2.getPropertyName() ); + return rKey1.getPropertyName() == rKey2.getPropertyName(); } }; diff --git a/ucb/source/ucp/webdav-neon/PropertyMap.hxx b/ucb/source/ucp/webdav-neon/PropertyMap.hxx index c0c31bb410d4..159651085773 100644 --- a/ucb/source/ucp/webdav-neon/PropertyMap.hxx +++ b/ucb/source/ucp/webdav-neon/PropertyMap.hxx @@ -41,7 +41,7 @@ struct equalPropertyName bool operator()( const css::beans::Property & p1, const css::beans::Property & p2 ) const { - return !!( p1.Name == p2.Name ); + return p1.Name == p2.Name; } }; |