summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav-neon
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-10 12:28:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-11 07:00:53 +0100
commit30e99b793fc26d2c86363bf8c023cdd2c05940b1 (patch)
treef521571d7197728e717d95c69d871e376c48ab98 /ucb/source/ucp/webdav-neon
parent9e03f6820417c9fcda27b49d9fa5a464f1255c84 (diff)
loplugin:indentation in ucb..ucbhelper
Change-Id: Ifa4b34065dacf9e144f076631c57f1d01aedaeeb Reviewed-on: https://gerrit.libreoffice.org/67608 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp/webdav-neon')
-rw-r--r--ucb/source/ucp/webdav-neon/ContentProperties.cxx13
-rw-r--r--ucb/source/ucp/webdav-neon/NeonSession.cxx26
-rw-r--r--ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx2
4 files changed, 20 insertions, 23 deletions
diff --git a/ucb/source/ucp/webdav-neon/ContentProperties.cxx b/ucb/source/ucp/webdav-neon/ContentProperties.cxx
index 2a9186b059cb..c13f0ed0b550 100644
--- a/ucb/source/ucp/webdav-neon/ContentProperties.cxx
+++ b/ucb/source/ucp/webdav-neon/ContentProperties.cxx
@@ -236,7 +236,7 @@ void ContentProperties::UCBNamesToDAVNames(
{
if ( !bCreationDate )
{
- propertyNames.push_back( DAVProperties::CREATIONDATE );
+ propertyNames.push_back( DAVProperties::CREATIONDATE );
bCreationDate = true;
}
}
@@ -244,8 +244,7 @@ void ContentProperties::UCBNamesToDAVNames(
{
if ( !bLastModified )
{
- propertyNames.push_back(
- DAVProperties::GETLASTMODIFIED );
+ propertyNames.push_back( DAVProperties::GETLASTMODIFIED );
bLastModified = true;
}
}
@@ -253,8 +252,7 @@ void ContentProperties::UCBNamesToDAVNames(
{
if ( !bContentType )
{
- propertyNames.push_back(
- DAVProperties::GETCONTENTTYPE );
+ propertyNames.push_back( DAVProperties::GETCONTENTTYPE );
bContentType = true;
}
}
@@ -262,8 +260,7 @@ void ContentProperties::UCBNamesToDAVNames(
{
if ( !bContentLength )
{
- propertyNames.push_back(
- DAVProperties::GETCONTENTLENGTH );
+ propertyNames.push_back( DAVProperties::GETCONTENTLENGTH );
bContentLength = true;
}
}
@@ -271,7 +268,7 @@ void ContentProperties::UCBNamesToDAVNames(
{
if ( !bResourceType )
{
- propertyNames.push_back( DAVProperties::RESOURCETYPE );
+ propertyNames.push_back( DAVProperties::RESOURCETYPE );
bResourceType = true;
}
}
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index 6d1215b7fe21..667d24b05351 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -1025,10 +1025,10 @@ void NeonSession::PROPFIND( const OUString & inPath,
#if defined SAL_LOG_INFO
{ //debug
SAL_INFO( "ucb.ucp.webdav", "PROPFIND - relative URL: <" << inPath << "> Depth: " << inDepth );
- for(const auto& rPropName : inPropNames)
- {
+ for(const auto& rPropName : inPropNames)
+ {
SAL_INFO( "ucb.ucp.webdav", "PROPFIND - property requested: " << rPropName );
- }
+ }
} //debug
#endif
@@ -1726,22 +1726,22 @@ bool NeonSession::UNLOCK( NeonLock * pLock )
if ( ne_unlock( m_pHttpSession, pLock ) == NE_OK )
{
#if defined SAL_LOG_INFO
- {
- char * p = ne_uri_unparse( &(pLock->uri) );
- SAL_INFO( "ucb.ucp.webdav", "UNLOCK (from store) - relative URL: <" << p << "> token: <" << pLock->token << "> succeeded." );
- ne_free( p );
- }
+ {
+ char * p = ne_uri_unparse( &(pLock->uri) );
+ SAL_INFO( "ucb.ucp.webdav", "UNLOCK (from store) - relative URL: <" << p << "> token: <" << pLock->token << "> succeeded." );
+ ne_free( p );
+ }
#endif
return true;
}
else
{
#if defined SAL_LOG_INFO
- {
- char * p = ne_uri_unparse( &(pLock->uri) );
- SAL_INFO( "ucb.ucp.webdav", "UNLOCK (from store) - relative URL: <" << p << "> token: <" << pLock->token << "> failed!" );
- ne_free( p );
- }
+ {
+ char * p = ne_uri_unparse( &(pLock->uri) );
+ SAL_INFO( "ucb.ucp.webdav", "UNLOCK (from store) - relative URL: <" << p << "> token: <" << pLock->token << "> failed!" );
+ ne_free( p );
+ }
#endif
return false;
}
diff --git a/ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.cxx b/ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.cxx
index 173c3f9c4c20..659bf5d49cc1 100644
--- a/ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.cxx
+++ b/ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.cxx
@@ -494,7 +494,7 @@ bool UCBDeadPropertyValue::toXML( const uno::Any & rInData,
// Encode value! It must not contain XML reserved chars!
aStringValue = encodeValue( aStringValue );
- rOutData = aXMLPre;
+ rOutData = aXMLPre;
rOutData += aStringType;
rOutData += aXMLMid;
rOutData += aStringValue;
diff --git a/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx b/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx
index 66591aa1f749..253999e6079c 100644
--- a/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx
@@ -474,7 +474,7 @@ bool DataSupplier::getData()
}
}
- m_pImpl->m_bCountFinal = true;
+ m_pImpl->m_bCountFinal = true;
// Callback possible, because listeners may be informed!
aGuard.clear();