summaryrefslogtreecommitdiff
path: root/include/sot
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-28 08:39:57 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-30 06:23:00 +0000
commita45827b2308febc7369db27fb489a6d1389534e1 (patch)
tree0b697341738010da35bd0a6a6189ef6761e5db0a /include/sot
parent2387c2a46e15995686d28dccdfd455012072b4cf (diff)
loplugin:unusedmethods
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/sot')
-rw-r--r--include/sot/factory.hxx6
-rw-r--r--include/sot/stg.hxx5
2 files changed, 2 insertions, 9 deletions
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;