diff options
Diffstat (limited to 'ucb/source/ucp/gvfs')
-rw-r--r-- | ucb/source/ucp/gvfs/gvfs_content.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/gvfs/gvfs_directory.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/gvfs/gvfs_provider.cxx | 5 |
3 files changed, 4 insertions, 5 deletions
diff --git a/ucb/source/ucp/gvfs/gvfs_content.hxx b/ucb/source/ucp/gvfs/gvfs_content.hxx index bae3fca3b823..0b062f4ceede 100644 --- a/ucb/source/ucp/gvfs/gvfs_content.hxx +++ b/ucb/source/ucp/gvfs/gvfs_content.hxx @@ -61,7 +61,7 @@ class Authentication { public: // Helper class to make exceptions pleasant - Authentication( const com::sun::star::uno::Reference< + explicit Authentication( const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment > & xEnv ); ~Authentication(); }; diff --git a/ucb/source/ucp/gvfs/gvfs_directory.cxx b/ucb/source/ucp/gvfs/gvfs_directory.cxx index 5f7c70ee50df..dd5c1036ba71 100644 --- a/ucb/source/ucp/gvfs/gvfs_directory.cxx +++ b/ucb/source/ucp/gvfs/gvfs_directory.cxx @@ -78,7 +78,7 @@ struct ResultListEntry uno::Reference< sdbc::XRow > xRow; GnomeVFSFileInfo aInfo; - ResultListEntry( const GnomeVFSFileInfo *fileInfo) + explicit ResultListEntry( const GnomeVFSFileInfo *fileInfo) { gnome_vfs_file_info_copy (&aInfo, fileInfo); } diff --git a/ucb/source/ucp/gvfs/gvfs_provider.cxx b/ucb/source/ucp/gvfs/gvfs_provider.cxx index b6372234da98..68789c04034d 100644 --- a/ucb/source/ucp/gvfs/gvfs_provider.cxx +++ b/ucb/source/ucp/gvfs/gvfs_provider.cxx @@ -145,9 +145,8 @@ ContentProvider::queryContent( //============================ shlib entry points ============================================= -extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpgvfs1_component_getFactory( const sal_Char *pImplName, - void *pServiceManager, - void */*pRegistryKey*/ ) +extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpgvfs1_component_getFactory( + const sal_Char *pImplName, void* pServiceManager, void* /*pRegistryKey*/) { void * pRet = 0; |