diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-08-16 11:03:48 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-16 12:21:07 +0200 |
commit | bef6471c1dad3f8b08b50cfbad4dd324b6dd4a8a (patch) | |
tree | a62a03280079a59ef7f5a75b2d3689e0006fc4e2 /ucb | |
parent | 4662df8a7561ce71ba00accbb5170e10818d6008 (diff) |
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I7d8b487e12defa4178869dc0ce1286722ad631db
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/cmis/cmis_repo_content.cxx | 1 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/cmis_repo_content.hxx | 3 | ||||
-rw-r--r-- | ucb/source/ucp/file/bc.cxx | 6 | ||||
-rw-r--r-- | ucb/source/ucp/file/filid.cxx | 3 | ||||
-rw-r--r-- | ucb/source/ucp/file/filid.hxx | 1 | ||||
-rw-r--r-- | ucb/source/ucp/file/filinpstr.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/file/filinpstr.hxx | 3 | ||||
-rw-r--r-- | ucb/source/ucp/file/filnot.cxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/file/filnot.hxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/file/filstr.cxx | 1 | ||||
-rw-r--r-- | ucb/source/ucp/file/filstr.hxx | 2 |
11 files changed, 7 insertions, 29 deletions
diff --git a/ucb/source/ucp/cmis/cmis_repo_content.cxx b/ucb/source/ucp/cmis/cmis_repo_content.cxx index 233b2f0b000b..410f7b53d4d9 100644 --- a/ucb/source/ucp/cmis/cmis_repo_content.cxx +++ b/ucb/source/ucp/cmis/cmis_repo_content.cxx @@ -62,7 +62,6 @@ namespace cmis throw ( ucb::ContentCreationException ) : ContentImplHelper( rxSMgr, pProvider, Identifier ), m_pProvider( pProvider ), - m_pSession( NULL ), m_aURL( Identifier->getContentIdentifier( ) ), m_sRepositoryId( ), m_aRepositories( aRepos ) diff --git a/ucb/source/ucp/cmis/cmis_repo_content.hxx b/ucb/source/ucp/cmis/cmis_repo_content.hxx index b40ad69a1f89..11a1436a0aba 100644 --- a/ucb/source/ucp/cmis/cmis_repo_content.hxx +++ b/ucb/source/ucp/cmis/cmis_repo_content.hxx @@ -39,7 +39,7 @@ #include <com/sun/star/ucb/TransferInfo.hpp> #include <com/sun/star/ucb/XContentCreator.hpp> #include <ucbhelper/contenthelper.hxx> -#include <libcmis/session-factory.hxx> +#include <libcmis/repository.hxx> #include <list> @@ -68,7 +68,6 @@ class RepoContent : public ::ucbhelper::ContentImplHelper, { private: ContentProvider* m_pProvider; - libcmis::Session* m_pSession; URL m_aURL; rtl::OUString m_sRepositoryId; diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx index eba4595bea2e..1fd46a0a354f 100644 --- a/ucb/source/ucp/file/bc.cxx +++ b/ucb/source/ucp/file/bc.cxx @@ -1351,8 +1351,7 @@ BaseContent::cPSL( void ) osl::MutexGuard aGuard( m_aMutex ); PropertySetInfoChangeNotifier* p = 0; if( m_pPropertySetInfoChangeListeners ) - p = new PropertySetInfoChangeNotifier( m_pMyShell, - this, + p = new PropertySetInfoChangeNotifier( this, m_xContentIdentifier, m_pPropertySetInfoChangeListeners->getElements() ); @@ -1383,8 +1382,7 @@ BaseContent::cPCL( void ) (*listener)[seqNames[i]] = m_pPropertyListener->getContainer( seqNames[i] )->getElements(); } - p = new PropertyChangeNotifier( m_pMyShell, - this, + p = new PropertyChangeNotifier( this, m_xContentIdentifier, listener ); } diff --git a/ucb/source/ucp/file/filid.cxx b/ucb/source/ucp/file/filid.cxx index 50200af6c656..6feb044b8f45 100644 --- a/ucb/source/ucp/file/filid.cxx +++ b/ucb/source/ucp/file/filid.cxx @@ -38,8 +38,7 @@ FileContentIdentifier::FileContentIdentifier( shell* pMyShell, const rtl::OUString& aUnqPath, sal_Bool IsNormalized ) - : m_pMyShell( pMyShell ), - m_bNormalized( IsNormalized ) + : m_pMyShell( pMyShell ) { if( IsNormalized ) { diff --git a/ucb/source/ucp/file/filid.hxx b/ucb/source/ucp/file/filid.hxx index 65196c873a23..d884c4f9a9b9 100644 --- a/ucb/source/ucp/file/filid.hxx +++ b/ucb/source/ucp/file/filid.hxx @@ -85,7 +85,6 @@ namespace fileaccess { rtl::OUString m_aContentId; // The URL string rtl::OUString m_aNormalizedId; // The somehow normalized string rtl::OUString m_aProviderScheme; - sal_Bool m_bNormalized; }; } // end namespace fileaccess diff --git a/ucb/source/ucp/file/filinpstr.cxx b/ucb/source/ucp/file/filinpstr.cxx index 289450b523b3..36290a563550 100644 --- a/ucb/source/ucp/file/filinpstr.cxx +++ b/ucb/source/ucp/file/filinpstr.cxx @@ -39,9 +39,7 @@ using namespace com::sun::star::ucb; XInputStream_impl::XInputStream_impl( shell* pMyShell,const rtl::OUString& aUncPath, sal_Bool bLock ) - : m_pMyShell( pMyShell ), - m_xProvider( pMyShell->m_pProvider ), - m_bLock( bLock ), + : m_xProvider( pMyShell->m_pProvider ), m_aFile( aUncPath ), m_nErrorCode( TASKHANDLER_NO_ERROR ), m_nMinorErrorCode( TASKHANDLER_NO_ERROR ) diff --git a/ucb/source/ucp/file/filinpstr.hxx b/ucb/source/ucp/file/filinpstr.hxx index eef52077c402..62ceaf06e12e 100644 --- a/ucb/source/ucp/file/filinpstr.hxx +++ b/ucb/source/ucp/file/filinpstr.hxx @@ -137,13 +137,10 @@ namespace fileaccess { private: - shell* m_pMyShell; com::sun::star::uno::Reference< com::sun::star::ucb::XContentProvider > m_xProvider; sal_Bool m_nIsOpen; - sal_Bool m_bLock; - ReconnectingFile m_aFile; sal_Int32 m_nErrorCode; diff --git a/ucb/source/ucp/file/filnot.cxx b/ucb/source/ucp/file/filnot.cxx index 19e53c258289..7fe9456133bd 100644 --- a/ucb/source/ucp/file/filnot.cxx +++ b/ucb/source/ucp/file/filnot.cxx @@ -148,12 +148,10 @@ void ContentEventNotifier::notifyExchanged() PropertySetInfoChangeNotifier::PropertySetInfoChangeNotifier( - shell* pMyShell, const uno::Reference< XContent >& xCreatorContent, const uno::Reference< XContentIdentifier >& xCreatorId, const uno::Sequence< uno::Reference< uno::XInterface > >& sListeners ) - : m_pMyShell( pMyShell ), - m_xCreatorContent( xCreatorContent ), + : m_xCreatorContent( xCreatorContent ), m_xCreatorId( xCreatorId ), m_sListeners( sListeners ) { @@ -203,12 +201,10 @@ PropertySetInfoChangeNotifier::notifyPropertyRemoved( const rtl::OUString & aPro PropertyChangeNotifier::PropertyChangeNotifier( - shell* pMyShell, const com::sun::star::uno::Reference< XContent >& xCreatorContent, const com::sun::star::uno::Reference< com::sun::star::ucb::XContentIdentifier >& xCreatorId, ListenerMap* pListeners ) - : m_pMyShell( pMyShell ), - m_xCreatorContent( xCreatorContent ), + : m_xCreatorContent( xCreatorContent ), m_xCreatorId( xCreatorId ), m_pListeners( pListeners ) { diff --git a/ucb/source/ucp/file/filnot.hxx b/ucb/source/ucp/file/filnot.hxx index 5f0118d66f07..44485fe2f344 100644 --- a/ucb/source/ucp/file/filnot.hxx +++ b/ucb/source/ucp/file/filnot.hxx @@ -75,13 +75,11 @@ namespace fileaccess { class PropertySetInfoChangeNotifier { private: - shell* m_pMyShell; com::sun::star::uno::Reference< com::sun::star::ucb::XContent > m_xCreatorContent; com::sun::star::uno::Reference< com::sun::star::ucb::XContentIdentifier > m_xCreatorId; com::sun::star::uno::Sequence< com::sun::star::uno::Reference< com::sun::star::uno::XInterface > > m_sListeners; public: PropertySetInfoChangeNotifier( - shell* pMyShell, const com::sun::star::uno::Reference< com::sun::star::ucb::XContent >& xCreatorContent, const com::sun::star::uno::Reference< com::sun::star::ucb::XContentIdentifier >& xCreatorId, const com::sun::star::uno::Sequence< @@ -100,13 +98,11 @@ namespace fileaccess { class PropertyChangeNotifier { private: - shell* m_pMyShell; com::sun::star::uno::Reference< com::sun::star::ucb::XContent > m_xCreatorContent; com::sun::star::uno::Reference< com::sun::star::ucb::XContentIdentifier > m_xCreatorId; ListenerMap* m_pListeners; public: PropertyChangeNotifier( - shell* pMyShell, const com::sun::star::uno::Reference< com::sun::star::ucb::XContent >& xCreatorContent, const com::sun::star::uno::Reference< com::sun::star::ucb::XContentIdentifier >& xCreatorId, ListenerMap* pListeners ); diff --git a/ucb/source/ucp/file/filstr.cxx b/ucb/source/ucp/file/filstr.cxx index 4f0f5b19d928..499e45401131 100644 --- a/ucb/source/ucp/file/filstr.cxx +++ b/ucb/source/ucp/file/filstr.cxx @@ -103,7 +103,6 @@ XStream_impl::XStream_impl( shell* pMyShell,const rtl::OUString& aUncPath, sal_B m_bOutputStreamCalled( false ), m_pMyShell( pMyShell ), m_xProvider( m_pMyShell->m_pProvider ), - m_bLock( bLock ), m_aFile( aUncPath ), m_nErrorCode( TASKHANDLER_NO_ERROR ), m_nMinorErrorCode( TASKHANDLER_NO_ERROR ) diff --git a/ucb/source/ucp/file/filstr.hxx b/ucb/source/ucp/file/filstr.hxx index e37c15fc224e..b44769c38998 100644 --- a/ucb/source/ucp/file/filstr.hxx +++ b/ucb/source/ucp/file/filstr.hxx @@ -211,8 +211,6 @@ namespace fileaccess { com::sun::star::uno::Reference< com::sun::star::ucb::XContentProvider > m_xProvider; sal_Bool m_nIsOpen; - sal_Bool m_bLock; - ReconnectingFile m_aFile; sal_Int32 m_nErrorCode; |