summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-12-20 23:16:10 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-12-20 23:16:10 +0100
commite9498c5e1ed125319e64e2e81b9cef869bda7ea4 (patch)
treeaa86a9e0f295f63a7f61a8df99a108534727bc36 /ucb
parent5ee129fbc039b0fc91048e62c7db1755b83aa01c (diff)
Some cppcheck cleaning
Change-Id: Idb363bc9d1d9f650d85e002ae0c6dda4a298fcd2
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/webdavcontent.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx
index b6d092d756d3..8d2ec5ddc024 100644
--- a/ucb/source/ucp/webdav/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav/webdavcontent.cxx
@@ -1238,7 +1238,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
uno::Sequence< beans::Property > aProperties(
rProperties.getLength() );
- if ( m_aFailedPropNames.size() > 0 )
+ if ( !m_aFailedPropNames.empty() )
{
sal_Int32 nProps = 0;
sal_Int32 nCount = rProperties.getLength();
@@ -1277,7 +1277,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
ContentProperties::UCBNamesToDAVNames(
aProperties, aPropNames );
- if ( aPropNames.size() > 0 )
+ if ( !aPropNames.empty() )
{
std::vector< DAVResource > resources;
try
@@ -1329,7 +1329,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
aHeaderNames,
true /* bIncludeUnmatched */ );
- if ( aHeaderNames.size() > 0 )
+ if ( !aHeaderNames.empty() )
{
try
{
@@ -1757,7 +1757,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
}
} // for
- if ( !bTransient && aProppatchValues.size() )
+ if ( !bTransient && (!aProppatchValues.empty()) )
{
try
{