summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav/webdavdatasupplier.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/webdav/webdavdatasupplier.cxx')
-rwxr-xr-x[-rw-r--r--]ucb/source/ucp/webdav/webdavdatasupplier.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/ucb/source/ucp/webdav/webdavdatasupplier.cxx b/ucb/source/ucp/webdav/webdavdatasupplier.cxx
index 8d2683939f0d..638c0c948bca 100644..100755
--- a/ucb/source/ucp/webdav/webdavdatasupplier.cxx
+++ b/ucb/source/ucp/webdav/webdavdatasupplier.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -40,9 +41,7 @@
#include "webdavdatasupplier.hxx"
#include "webdavcontent.hxx"
#include "ContentProperties.hxx"
-#ifndef _WEBDAV_SESSION_HXX
#include "DAVSession.hxx"
-#endif
#include "NeonUri.hxx"
using namespace com::sun::star;
@@ -111,7 +110,7 @@ DataSupplier_Impl::~DataSupplier_Impl()
while ( it != end )
{
delete (*it);
- it++;
+ ++it;
}
}
@@ -164,12 +163,12 @@ rtl::OUString DataSupplier::queryContentIdentifierString( sal_uInt32 nIndex )
= *( m_pImpl->m_aResults[ nIndex ]->pData );
if ( ( aId.lastIndexOf( '/' ) + 1 ) != aId.getLength() )
- aId += rtl::OUString::createFromAscii( "/" );
+ aId += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/"));
aId += props.getEscapedTitle();
if ( props.isTrailingSlash() )
- aId += rtl::OUString::createFromAscii( "/" );
+ aId += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/"));
m_pImpl->m_aResults[ nIndex ]->aId = aId;
return aId;
@@ -376,7 +375,7 @@ sal_Bool DataSupplier::getData()
if ( (*it).equals( DAVProperties::RESOURCETYPE ) )
break;
- it++;
+ ++it;
}
if ( it == end )
@@ -510,3 +509,4 @@ sal_Bool DataSupplier::getData()
return !m_pImpl->m_bThrowException;
}
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */