summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-21 09:15:32 +0200
committerNoel Grandin <noel@peralex.com>2015-08-21 10:19:44 +0200
commit3d614a639e8b46f9197cd0d74c306fcfa9bb7e45 (patch)
tree687e94210ff83940f2d8313f76e9a0fde1e556e4 /ucb
parentfa12df37f42994cd172ec62be936e84ab01a6cf7 (diff)
loplugin: defaultparams
Change-Id: If1d183f32079548645b4974a16161dc997c026b7
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/core/identify.cxx2
-rw-r--r--ucb/source/ucp/cmis/cmis_content.cxx2
-rw-r--r--ucb/source/ucp/ext/ucpext_content.cxx2
-rw-r--r--ucb/source/ucp/ftp/ftpcontent.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.cxx7
5 files changed, 7 insertions, 8 deletions
diff --git a/ucb/source/core/identify.cxx b/ucb/source/core/identify.cxx
index e36442c241b2..f03cbb252adc 100644
--- a/ucb/source/core/identify.cxx
+++ b/ucb/source/core/identify.cxx
@@ -61,7 +61,7 @@ OUString SAL_CALL ContentIdentifier::getContentProviderScheme()
{
// The content provider scheme is the part before the first ':'
// within the content id.
- sal_Int32 nPos = m_aContentId.indexOf( ':', 0 );
+ sal_Int32 nPos = m_aContentId.indexOf( ':' );
if ( nPos != -1 )
{
OUString aScheme( m_aContentId.copy( 0, nPos ) );
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx
index d23ce6e4ea4a..0527783a580c 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -235,7 +235,7 @@ namespace
for ( sal_Int32 i = 0; i < m_nNumValue; ++i )
{
OUStringBuffer aBuffer;
- ::sax::Converter::convertDateTime( aBuffer, seqValue[i], 0, false );
+ ::sax::Converter::convertDateTime( aBuffer, seqValue[i], 0 );
values.push_back( OUSTR_TO_STDSTR( aBuffer.makeStringAndClear( ) ) );
}
type = libcmis::PropertyType::DateTime;
diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx
index 3ee8ad6a4018..0ba144f38e97 100644
--- a/ucb/source/ucp/ext/ucpext_content.cxx
+++ b/ucb/source/ucp/ext/ucpext_content.cxx
@@ -343,7 +343,7 @@ namespace ucb { namespace ucp { namespace ext
const OUString sURL = m_xIdentifier->getContentIdentifier();
// cut the root URL
- if ( !sURL.match( sRootURL, 0 ) )
+ if ( !sURL.match( sRootURL ) )
{
SAL_INFO( "ucb.ucp.ext", "illegal URL structure - no root" );
break;
diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx
index 09a59ca431a2..442fe1ddf434 100644
--- a/ucb/source/ucp/ftp/ftpcontent.cxx
+++ b/ucb/source/ucp/ftp/ftpcontent.cxx
@@ -694,7 +694,7 @@ FTPContent::getParent( )
throw (RuntimeException, std::exception)
{
Reference<XContentIdentifier>
- xIdent(new FTPContentIdentifier(m_aFTPURL.parent(false)));
+ xIdent(new FTPContentIdentifier(m_aFTPURL.parent()));
return Reference<XInterface>( m_xProvider->queryContent(xIdent), UNO_QUERY );
}
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index 3fc1755a95e8..f3b748402408 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -1392,8 +1392,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
std::vector< OUString > aHeaderNames;
ContentProperties::UCBNamesToHTTPNames(
rProperties,
- aHeaderNames,
- true /* bIncludeUnmatched */ );
+ aHeaderNames );
if ( !aHeaderNames.empty() )
{
@@ -2857,7 +2856,7 @@ void Content::lock(
;
}
- cancelCommandExecution( e, Environment, false );
+ cancelCommandExecution( e, Environment );
// Unreachable
}
}
@@ -2906,7 +2905,7 @@ void Content::unlock(
//fallthrough
;
}
- cancelCommandExecution( e, Environment, false );
+ cancelCommandExecution( e, Environment );
// Unreachable
}
}