From a45827b2308febc7369db27fb489a6d1389534e1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 28 Jul 2015 08:39:57 +0200 Subject: loplugin:unusedmethods Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/sot/factory.hxx | 6 ++---- include/sot/stg.hxx | 5 ----- 2 files changed, 2 insertions(+), 9 deletions(-) (limited to 'include/sot') diff --git a/include/sot/factory.hxx b/include/sot/factory.hxx index 7314e3ae68e9..18f093b77446 100644 --- a/include/sot/factory.hxx +++ b/include/sot/factory.hxx @@ -36,13 +36,11 @@ typedef void * (*CreateInstanceType)( SotObject ** ); //==================class SotFactory======================================= class SOT_DLLPUBLIC SotFactory : public SvGlobalName { - sal_uInt16 nSuperCount; // Anzahl der Superklassen + sal_uInt16 nSuperCount; // Anzahl der Superklassen const SotFactory ** pSuperClasses; // Superklassen - CreateInstanceType pCreateFunc; OUString aClassName; - static bool ExistTest( const SvGlobalName & ); protected: virtual ~SotFactory(); public: @@ -54,7 +52,7 @@ public: #endif SotFactory( const SvGlobalName &, - const OUString & rClassName, CreateInstanceType ); + const OUString & rClassName ); void PutSuperClass( const SotFactory * ); diff --git a/include/sot/stg.hxx b/include/sot/stg.hxx index bfb5702e5d29..2e3c629950d0 100644 --- a/include/sot/stg.hxx +++ b/include/sot/stg.hxx @@ -119,7 +119,6 @@ public: virtual bool IsStorage( const OUString& rEleName ) const = 0; virtual bool IsContained( const OUString& rEleName ) const = 0; virtual bool Remove( const OUString & rEleName ) = 0; - virtual bool Rename( const OUString & rEleName, const OUString & rNewName ) = 0; virtual bool CopyTo( const OUString & rEleName, BaseStorage * pDest, const OUString & rNewName ) = 0; virtual bool ValidateFAT() = 0; virtual bool Equals( const BaseStorage& rStream ) const = 0; @@ -135,8 +134,6 @@ protected: ~OLEStorageBase(); bool Validate_Impl( bool=false ) const; static bool ValidateMode_Impl( StreamMode, StgDirEntry* p = NULL ); - const SvStream* GetSvStream_Impl() const; -public: }; class StorageStream : public BaseStorageStream, public OLEStorageBase @@ -212,7 +209,6 @@ public: virtual bool IsStorage( const OUString& rEleName ) const SAL_OVERRIDE; virtual bool IsContained( const OUString& rEleName ) const SAL_OVERRIDE; virtual bool Remove( const OUString & rEleName ) SAL_OVERRIDE; - virtual bool Rename( const OUString & rEleName, const OUString & rNewName ) SAL_OVERRIDE; virtual bool CopyTo( const OUString & rEleName, BaseStorage * pDest, const OUString & rNewName ) SAL_OVERRIDE; virtual bool ValidateFAT() SAL_OVERRIDE; virtual bool Validate( bool=false ) const SAL_OVERRIDE; @@ -318,7 +314,6 @@ public: virtual bool IsStorage( const OUString& rEleName ) const SAL_OVERRIDE; virtual bool IsContained( const OUString& rEleName ) const SAL_OVERRIDE; virtual bool Remove( const OUString & rEleName ) SAL_OVERRIDE; - virtual bool Rename( const OUString & rEleName, const OUString & rNewName ) SAL_OVERRIDE; virtual bool CopyTo( const OUString & rEleName, BaseStorage * pDest, const OUString & rNewName ) SAL_OVERRIDE; virtual bool ValidateFAT() SAL_OVERRIDE; virtual bool Validate( bool=false ) const SAL_OVERRIDE; -- cgit