From 060ab521fa0d5d6b9fcb97eab4718c04e8aec944 Mon Sep 17 00:00:00 2001 From: Alexander Wilms Date: Tue, 25 Feb 2014 22:38:20 +0100 Subject: Remove visual noise from ucb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Conflicts: ucb/source/ucp/webdav/webdavdatasupplier.cxx ucb/source/ucp/webdav/webdavresponseparser.cxx Change-Id: I96b69f4867bbaaf42c3d5fd159cbb3e4fe80a4db Reviewed-on: https://gerrit.libreoffice.org/8329 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- ucb/source/ucp/gvfs/gvfs_content.cxx | 24 +++++++-------- ucb/source/ucp/gvfs/gvfs_content.hxx | 12 ++++---- ucb/source/ucp/gvfs/gvfs_directory.cxx | 20 ++++++------- ucb/source/ucp/gvfs/gvfs_provider.cxx | 54 +++++++++++++++++----------------- 4 files changed, 55 insertions(+), 55 deletions(-) (limited to 'ucb/source/ucp/gvfs') diff --git a/ucb/source/ucp/gvfs/gvfs_content.cxx b/ucb/source/ucp/gvfs/gvfs_content.cxx index 26f6ba8dbc0b..3b481c8e46e4 100644 --- a/ucb/source/ucp/gvfs/gvfs_content.cxx +++ b/ucb/source/ucp/gvfs/gvfs_content.cxx @@ -148,9 +148,9 @@ Content::~Content() gnome_vfs_file_info_clear( &m_info ); } -// + // XInterface methods. -// + void SAL_CALL Content::acquire() throw( ) @@ -176,9 +176,9 @@ uno::Any SAL_CALL Content::queryInterface( const uno::Type & rType ) return aRet.hasValue() ? aRet : ContentImplHelper::queryInterface( rType ); } -// + // XTypeProvider methods. -// + XTYPEPROVIDER_COMMON_IMPL( Content ); @@ -231,9 +231,9 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes() return pFileCollection->getTypes(); } -// + // XServiceInfo methods. -// + OUString SAL_CALL Content::getImplementationName() throw( uno::RuntimeException ) @@ -249,9 +249,9 @@ uno::Sequence< OUString > SAL_CALL Content::getSupportedServiceNames() return aSNS; } -// + // XContent methods. -// + OUString SAL_CALL Content::getContentType() throw( uno::RuntimeException ) @@ -262,9 +262,9 @@ OUString SAL_CALL Content::getContentType() return OUString( GVFS_FILE_TYPE ); } -// + // XCommandProcessor methods. -// + uno::Any Content::getBadArgExcept() { @@ -428,9 +428,9 @@ void SAL_CALL Content::abort( sal_Int32 /*CommandId*/ ) // FIXME: we should use the GnomeVFSCancellation APIs here ... } -// + // XContentCreator methods. -// + uno::Sequence< ucb::ContentInfo > Content::queryCreatableContentsInfo( const uno::Reference< ucb::XCommandEnvironment >& xEnv) diff --git a/ucb/source/ucp/gvfs/gvfs_content.hxx b/ucb/source/ucp/gvfs/gvfs_content.hxx index 048ea8443636..495bbfa3c1de 100644 --- a/ucb/source/ucp/gvfs/gvfs_content.hxx +++ b/ucb/source/ucp/gvfs/gvfs_content.hxx @@ -69,9 +69,9 @@ public: class Content : public ::ucbhelper::ContentImplHelper, public com::sun::star::ucb::XContentCreator { -//========================================================================= + // Internals -//========================================================================= + private: typedef rtl::Reference< Content > ContentRef; typedef std::list< ContentRef > ContentRefList; @@ -179,9 +179,9 @@ public: OString getOURI (); OUString getOUURI (); -//========================================================================= + // Externals -//========================================================================= + public: Content( const ::com::sun::star::uno::Reference< @@ -230,9 +230,9 @@ public: abort( sal_Int32 CommandId ) throw( com::sun::star::uno::RuntimeException ); - ////////////////////////////////////////////////////////////////////// + // Additional interfaces - ////////////////////////////////////////////////////////////////////// + // XContentCreator virtual com::sun::star::uno::Sequence< diff --git a/ucb/source/ucp/gvfs/gvfs_directory.cxx b/ucb/source/ucp/gvfs/gvfs_directory.cxx index 21612a090402..5f7c70ee50df 100644 --- a/ucb/source/ucp/gvfs/gvfs_directory.cxx +++ b/ucb/source/ucp/gvfs/gvfs_directory.cxx @@ -63,7 +63,7 @@ void DynamicResultSet::initDynamic() m_xResultSet2 = m_xResultSet1; } -//========================================================================= + // DataSupplier Implementation. @@ -89,19 +89,19 @@ struct ResultListEntry } }; -//========================================================================= -// + + // ResultList. -// -//========================================================================= + + typedef std::vector< ResultListEntry* > ResultList; -//========================================================================= -// + + // struct DataSupplier_Impl. -// -//========================================================================= + + struct gvfs::DataSupplier_Impl { @@ -136,7 +136,7 @@ DataSupplier::DataSupplier( { } -//========================================================================= + // virtual DataSupplier::~DataSupplier() { diff --git a/ucb/source/ucp/gvfs/gvfs_provider.cxx b/ucb/source/ucp/gvfs/gvfs_provider.cxx index 2b528edfad08..4b58dc61a0c6 100644 --- a/ucb/source/ucp/gvfs/gvfs_provider.cxx +++ b/ucb/source/ucp/gvfs/gvfs_provider.cxx @@ -27,13 +27,13 @@ using namespace com::sun::star; using namespace gvfs; -//========================================================================= -//========================================================================= -// + + + // ContentProvider Implementation. -// -//========================================================================= -//========================================================================= + + + ContentProvider::ContentProvider( const uno::Reference< uno::XComponentContext >& rxContext ) @@ -41,56 +41,56 @@ ContentProvider::ContentProvider( { } // sdafas -//========================================================================= + // virtual ContentProvider::~ContentProvider() { } -//========================================================================= -// + + // XInterface methods. -// -//========================================================================= + + XINTERFACE_IMPL_3( ContentProvider, lang::XTypeProvider, lang::XServiceInfo, com::sun::star::ucb::XContentProvider ); -//========================================================================= -// + + // XTypeProvider methods. -// -//========================================================================= + + XTYPEPROVIDER_IMPL_3( ContentProvider, lang::XTypeProvider, lang::XServiceInfo, com::sun::star::ucb::XContentProvider ); -//========================================================================= -// + + // XServiceInfo methods. -// -//========================================================================= + + XSERVICEINFO_IMPL_1_CTX( ContentProvider, OUString( "com.sun.star.comp.GnomeVFSContentProvider" ), OUString( "com.sun.star.ucb.GnomeVFSContentProvider" ) ); -//========================================================================= -// + + // Service factory implementation. -// -//========================================================================= + + ONE_INSTANCE_SERVICE_FACTORY_IMPL( ContentProvider ); -//========================================================================= -// + + // XContentProvider methods. -// -//========================================================================= + + uno::Reference< com::sun::star::ucb::XContent > SAL_CALL ContentProvider::queryContent( -- cgit