summaryrefslogtreecommitdiff
path: root/include/sot
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-29 09:07:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-29 23:42:26 +0000
commit309574394bd4ae3e9e10e5ff0d64bdd7bbbc8b83 (patch)
treef8b8cea0a81bc74ca34e8bda2d0dfce939b28ce0 /include/sot
parent20deac4903fc0697477e855feeff482b3da234f9 (diff)
callcatcher: large newly detected unused methods post de-virtualization
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
Diffstat (limited to 'include/sot')
-rw-r--r--include/sot/factory.hxx1
-rw-r--r--include/sot/storage.hxx12
2 files changed, 0 insertions, 13 deletions
diff --git a/include/sot/factory.hxx b/include/sot/factory.hxx
index 078a32be6ffc..75ab09ab9902 100644
--- a/include/sot/factory.hxx
+++ b/include/sot/factory.hxx
@@ -58,7 +58,6 @@ public:
const OUString & rClassName, CreateInstanceType );
void PutSuperClass( const SotFactory * );
- void * CreateInstance( SotObject ** ppObj = NULL ) const;
bool Is( const SotFactory * pSuperClass ) const;
const SotFactory * GetSuper( sal_uInt16 nPos ) const
diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx
index 830faf8a36fc..b25345f61050 100644
--- a/include/sot/storage.hxx
+++ b/include/sot/storage.hxx
@@ -76,7 +76,6 @@ public:
sal_uInt32 GetSize() const;
bool CopyTo( SotStorageStream * pDestStm );
bool Commit();
- bool Revert();
bool SetProperty( const OUString& rName, const ::com::sun::star::uno::Any& rValue );
virtual sal_uInt64 remainingSize() SAL_OVERRIDE;
};
@@ -159,7 +158,6 @@ public:
if( m_nError == SVSTREAM_OK )
m_nError = nErrorCode;
}
- void ResetError();
bool IsRoot() const { return m_bIsRoot; }
void SignAsRoot( bool b = true ) { m_bIsRoot = b; }
@@ -169,19 +167,14 @@ public:
void SetClass( const SvGlobalName & rClass,
sal_uLong bOriginalClipFormat,
const OUString & rUserTypeName );
- void SetConvertClass( const SvGlobalName & rConvertClass,
- sal_uLong bOriginalClipFormat,
- const OUString & rUserTypeName );
SvGlobalName GetClassName(); // type of data in the storage
sal_uLong GetFormat();
OUString GetUserName();
- bool ShouldConvert();
// list of all elements
void FillInfoList( SvStorageInfoList * ) const;
bool CopyTo( SotStorage * pDestStg );
bool Commit();
- bool Revert();
// create stream with connection to Storage,
// more or less a Parent-Child relationship
@@ -197,13 +190,8 @@ public:
bool IsContained( const OUString & rEleName ) const;
// remove element
bool Remove( const OUString & rEleName );
- // change element's name
- bool Rename( const OUString & rEleName,
- const OUString & rNewName );
bool CopyTo( const OUString & rEleName, SotStorage * pDest,
const OUString & rNewName );
- bool MoveTo( const OUString & rEleName, SotStorage * pDest,
- const OUString & rNewName );
bool IsOLEStorage() const;
static bool IsOLEStorage( const OUString & rFileName );