diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 19:59:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:26:20 +0100 |
commit | fbda6021550f4fe342ded19517b4aeaaeeec47e1 (patch) | |
tree | 2c77d7872c2c93c0f4cfa8a1ba08d66f1c79ade2 /ucb/source/ucp/webdav-neon | |
parent | 2c907d21077ee6e5e68039842fcf8721bde5bef0 (diff) |
bool improvements
Change-Id: I9a3c7a425342373d02d2664a3444c50bfd629970
Diffstat (limited to 'ucb/source/ucp/webdav-neon')
-rw-r--r-- | ucb/source/ucp/webdav-neon/ContentProperties.cxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonSession.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.cxx | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/ucb/source/ucp/webdav-neon/ContentProperties.cxx b/ucb/source/ucp/webdav-neon/ContentProperties.cxx index b19cd24c19be..69a1242fdf08 100644 --- a/ucb/source/ucp/webdav-neon/ContentProperties.cxx +++ b/ucb/source/ucp/webdav-neon/ContentProperties.cxx @@ -129,14 +129,14 @@ ContentProperties::ContentProperties( const DAVResource& rResource ) } if ( rResource.uri.endsWith("/") ) - m_bTrailingSlash = sal_True; + m_bTrailingSlash = true; } //========================================================================= ContentProperties::ContentProperties( const OUString & rTitle, sal_Bool bFolder ) : m_xProps( new PropertyValueMap ), - m_bTrailingSlash( sal_False ) + m_bTrailingSlash( false ) { (*m_xProps)[ OUString("Title") ] = PropertyValue( uno::makeAny( rTitle ), true ); @@ -149,7 +149,7 @@ ContentProperties::ContentProperties( //========================================================================= ContentProperties::ContentProperties( const OUString & rTitle ) : m_xProps( new PropertyValueMap ), - m_bTrailingSlash( sal_False ) + m_bTrailingSlash( false ) { (*m_xProps)[ OUString("Title") ] = PropertyValue( uno::makeAny( rTitle ), true ); @@ -158,7 +158,7 @@ ContentProperties::ContentProperties( const OUString & rTitle ) //========================================================================= ContentProperties::ContentProperties() : m_xProps( new PropertyValueMap ), - m_bTrailingSlash( sal_False ) + m_bTrailingSlash( false ) { } diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx index c493a7f945f2..a23a123ab299 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.cxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx @@ -442,7 +442,7 @@ extern "C" int NeonSession_CertificationNotify( void *userdata, if ( xImCert.is() ) vecCerts.push_back( xImCert ); } - while ( 1 ); + while ( true ); sal_Int64 certValidity = xSecurityEnv->verifyCertificate( xEECert, ::comphelper::containerToSequence( vecCerts ) ); diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index ec4f694de00e..c6fbe4f80e23 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -2468,7 +2468,7 @@ void Content::insert( { osl::Guard< osl::Mutex > aGuard( m_aMutex ); - m_bTransient = sal_False; + m_bTransient = false; } } else |