summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sot/factory.hxx6
-rw-r--r--include/sot/object.hxx2
-rw-r--r--include/sot/stg.hxx24
-rw-r--r--include/sot/storage.hxx5
-rw-r--r--include/sot/storinfo.hxx1
5 files changed, 0 insertions, 38 deletions
diff --git a/include/sot/factory.hxx b/include/sot/factory.hxx
index b5f5ff6f4153..7314e3ae68e9 100644
--- a/include/sot/factory.hxx
+++ b/include/sot/factory.hxx
@@ -59,12 +59,6 @@ public:
void PutSuperClass( const SotFactory * );
bool Is( const SotFactory * pSuperClass ) const;
- const SotFactory * GetSuper( sal_uInt16 nPos ) const
- {
- return nPos < nSuperCount ?
- pSuperClasses[ nPos ]
- : NULL;
- }
private:
SotFactory( const SotFactory & ) SAL_DELETED_FUNCTION;
diff --git a/include/sot/object.hxx b/include/sot/object.hxx
index 8c208564bb47..41077fe312d6 100644
--- a/include/sot/object.hxx
+++ b/include/sot/object.hxx
@@ -35,7 +35,6 @@ friend class SotFactory;
protected:
virtual ~SotObject();
- void SetExtern() { bOwner = false; }
virtual bool Close();
public:
SotObject();
@@ -46,7 +45,6 @@ private:
public:
static void * CreateInstance( SotObject ** = NULL );
static SotFactory * ClassFactory();
- virtual const SotFactory * GetSvFactory() const;
virtual void * Cast( const SotFactory * );
bool Owner() const { return bOwner; }
diff --git a/include/sot/stg.hxx b/include/sot/stg.hxx
index 5f4ba36d7b4b..bfb5702e5d29 100644
--- a/include/sot/stg.hxx
+++ b/include/sot/stg.hxx
@@ -55,7 +55,6 @@ protected:
virtual ~StorageBase();
public:
TYPEINFO();
- virtual const SvStream* GetSvStream() const = 0;
virtual bool Validate( bool=false ) const = 0;
virtual bool ValidateMode( StreamMode ) const = 0;
void ResetError() const;
@@ -80,7 +79,6 @@ public:
virtual sal_uLong GetSize() const = 0;
virtual bool CopyTo( BaseStorageStream * pDestStm ) = 0;
virtual bool Commit() = 0;
- virtual bool Revert() = 0;
virtual bool Equals( const BaseStorageStream& rStream ) const = 0;
};
@@ -98,13 +96,9 @@ public:
virtual void SetClass( const SvGlobalName & rClass,
SotClipboardFormatId nOriginalClipFormat,
const OUString & rUserTypeName ) = 0;
- virtual void SetConvertClass( const SvGlobalName & rConvertClass,
- SotClipboardFormatId nOriginalClipFormat,
- const OUString & rUserTypeName ) = 0;
virtual SvGlobalName GetClassName() = 0;
virtual SotClipboardFormatId GetFormat() = 0;
virtual OUString GetUserName() = 0;
- virtual bool ShouldConvert() = 0;
virtual void FillInfoList( SvStorageInfoList* ) const = 0;
virtual bool CopyTo( BaseStorage* pDestStg ) const = 0;
virtual bool Commit() = 0;
@@ -127,7 +121,6 @@ public:
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 MoveTo( const OUString & rEleName, BaseStorage * pDest, const OUString & rNewName ) = 0;
virtual bool ValidateFAT() = 0;
virtual bool Equals( const BaseStorage& rStream ) const = 0;
};
@@ -164,10 +157,8 @@ public:
virtual sal_uLong GetSize() const SAL_OVERRIDE;
virtual bool CopyTo( BaseStorageStream * pDestStm ) SAL_OVERRIDE;
virtual bool Commit() SAL_OVERRIDE;
- virtual bool Revert() SAL_OVERRIDE;
virtual bool Validate( bool=false ) const SAL_OVERRIDE;
virtual bool ValidateMode( StreamMode ) const SAL_OVERRIDE;
- const SvStream* GetSvStream() const SAL_OVERRIDE;
virtual bool Equals( const BaseStorageStream& rStream ) const SAL_OVERRIDE;
};
@@ -198,13 +189,9 @@ public:
virtual void SetClass( const SvGlobalName & rClass,
SotClipboardFormatId nOriginalClipFormat,
const OUString & rUserTypeName ) SAL_OVERRIDE;
- virtual void SetConvertClass( const SvGlobalName & rConvertClass,
- SotClipboardFormatId nOriginalClipFormat,
- const OUString & rUserTypeName ) SAL_OVERRIDE;
virtual SvGlobalName GetClassName() SAL_OVERRIDE;
virtual SotClipboardFormatId GetFormat() SAL_OVERRIDE;
virtual OUString GetUserName() SAL_OVERRIDE;
- virtual bool ShouldConvert() SAL_OVERRIDE;
virtual void FillInfoList( SvStorageInfoList* ) const SAL_OVERRIDE;
virtual bool CopyTo( BaseStorage* pDestStg ) const SAL_OVERRIDE;
virtual bool Commit() SAL_OVERRIDE;
@@ -227,12 +214,10 @@ public:
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 MoveTo( const OUString & rEleName, BaseStorage * pDest, const OUString & rNewName ) SAL_OVERRIDE;
virtual bool ValidateFAT() SAL_OVERRIDE;
virtual bool Validate( bool=false ) const SAL_OVERRIDE;
virtual bool ValidateMode( StreamMode ) const SAL_OVERRIDE;
bool ValidateMode( StreamMode, StgDirEntry* p ) const;
- virtual const SvStream* GetSvStream() const SAL_OVERRIDE;
virtual bool Equals( const BaseStorage& rStream ) const SAL_OVERRIDE;
};
@@ -259,10 +244,8 @@ public:
virtual sal_uLong GetSize() const SAL_OVERRIDE;
virtual bool CopyTo( BaseStorageStream * pDestStm ) SAL_OVERRIDE;
virtual bool Commit() SAL_OVERRIDE;
- virtual bool Revert() SAL_OVERRIDE;
virtual bool Validate( bool=false ) const SAL_OVERRIDE;
virtual bool ValidateMode( StreamMode ) const SAL_OVERRIDE;
- const SvStream* GetSvStream() const SAL_OVERRIDE;
virtual bool Equals( const BaseStorageStream& rStream ) const SAL_OVERRIDE;
bool SetProperty( const OUString& rName, const ::com::sun::star::uno::Any& rValue );
@@ -312,13 +295,9 @@ public:
virtual void SetClass( const SvGlobalName & rClass,
SotClipboardFormatId nOriginalClipFormat,
const OUString & rUserTypeName ) SAL_OVERRIDE;
- virtual void SetConvertClass( const SvGlobalName & rConvertClass,
- SotClipboardFormatId nOriginalClipFormat,
- const OUString & rUserTypeName ) SAL_OVERRIDE;
virtual SvGlobalName GetClassName() SAL_OVERRIDE;
virtual SotClipboardFormatId GetFormat() SAL_OVERRIDE;
virtual OUString GetUserName() SAL_OVERRIDE;
- virtual bool ShouldConvert() SAL_OVERRIDE;
virtual void FillInfoList( SvStorageInfoList* ) const SAL_OVERRIDE;
virtual bool CopyTo( BaseStorage* pDestStg ) const SAL_OVERRIDE;
virtual bool Commit() SAL_OVERRIDE;
@@ -341,13 +320,10 @@ public:
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 MoveTo( const OUString & rEleName, BaseStorage * pDest, const OUString & rNewName ) SAL_OVERRIDE;
virtual bool ValidateFAT() SAL_OVERRIDE;
virtual bool Validate( bool=false ) const SAL_OVERRIDE;
virtual bool ValidateMode( StreamMode ) const SAL_OVERRIDE;
- virtual const SvStream* GetSvStream() const SAL_OVERRIDE;
virtual bool Equals( const BaseStorage& rStream ) const SAL_OVERRIDE;
- bool GetProperty( const OUString& rEleName, const OUString& rName, ::com::sun::star::uno::Any& rValue );
UCBStorageElement_Impl* FindElement_Impl( const OUString& rName ) const;
bool CopyStorageElement_Impl( UCBStorageElement_Impl& rElement,
diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx
index 0850bde76323..8d0bcc8db091 100644
--- a/include/sot/storage.hxx
+++ b/include/sot/storage.hxx
@@ -62,7 +62,6 @@ private:
public:
static void * CreateInstance( SotObject ** = NULL );
static SotFactory * ClassFactory();
- virtual const SotFactory * GetSvFactory() const SAL_OVERRIDE;
virtual void * Cast( const SotFactory * ) SAL_OVERRIDE;
virtual void ResetError() SAL_OVERRIDE;
@@ -116,7 +115,6 @@ private:
public:
static void * CreateInstance( SotObject ** = NULL );
static SotFactory * ClassFactory();
- virtual const SotFactory * GetSvFactory() const SAL_OVERRIDE;
virtual void * Cast( const SotFactory * ) SAL_OVERRIDE;
SvMemoryStream * CreateMemoryStream();
@@ -139,7 +137,6 @@ public:
return m_nVersion;
}
- sal_uLong GetErrorCode() const { return m_nError; }
sal_uLong GetError() const { return ERRCODE_TOERROR(m_nError); }
void SetError( sal_uLong nErrorCode )
{
@@ -147,9 +144,7 @@ public:
m_nError = nErrorCode;
}
- bool IsRoot() const { return m_bIsRoot; }
void SignAsRoot( bool b = true ) { m_bIsRoot = b; }
- void SetDeleteStream( bool bDelete ) { m_bDelStm = bDelete; }
// own data sector
void SetClass( const SvGlobalName & rClass,
diff --git a/include/sot/storinfo.hxx b/include/sot/storinfo.hxx
index 1793a68a7239..98e5360d16c1 100644
--- a/include/sot/storinfo.hxx
+++ b/include/sot/storinfo.hxx
@@ -46,7 +46,6 @@ public:
, bStorage( bIsStorage )
{}
- const SvGlobalName & GetClassName() const { return aClassName; }
const OUString & GetName() const { return aName; }
bool IsStream() const { return bStream; }
bool IsStorage() const { return bStorage; }