diff options
Diffstat (limited to 'ucb/source/ucp/gvfs/gvfs_directory.cxx')
-rwxr-xr-x[-rw-r--r--] | ucb/source/ucp/gvfs/gvfs_directory.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/ucb/source/ucp/gvfs/gvfs_directory.cxx b/ucb/source/ucp/gvfs/gvfs_directory.cxx index b93f34d9003f..d0a403d86bc6 100644..100755 --- a/ucb/source/ucp/gvfs/gvfs_directory.cxx +++ b/ucb/source/ucp/gvfs/gvfs_directory.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. @@ -134,10 +135,10 @@ struct gvfs::DataSupplier_Impl ResultList::const_iterator end = m_aResults.end(); while ( it != end ) - { - delete (*it); - it++; - } + { + delete (*it); + ++it; + } } }; @@ -174,7 +175,7 @@ rtl::OUString DataSupplier::queryContentIdentifierString( sal_uInt32 nIndex ) escaped_name = gnome_vfs_escape_string( m_pImpl->m_aResults[ nIndex ]->aInfo.name ); if ( ( aId.lastIndexOf( '/' ) + 1 ) != aId.getLength() ) - aId += rtl::OUString::createFromAscii( "/" ); + aId += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/")); aId += rtl::OUString::createFromAscii( escaped_name ); @@ -421,3 +422,4 @@ sal_Bool DataSupplier::getData() +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |