summaryrefslogtreecommitdiff
path: root/include/tools/pstm.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-01 13:55:55 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-02 06:37:53 +0000
commitd3d4b8691968810bb57bbd94dde39bb7be4be4da (patch)
tree0a2720842b799b0803d879a4ae3d021ff7777f4a /include/tools/pstm.hxx
parenta28231b72b5a87dddffad82a34deac4e5bb76ed1 (diff)
loplugin:unusedmethods tools
Change-Id: I45f5489233879126d4f9ee3d01db504d950bb597 Reviewed-on: https://gerrit.libreoffice.org/16656 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/tools/pstm.hxx')
-rw-r--r--include/tools/pstm.hxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/tools/pstm.hxx b/include/tools/pstm.hxx
index 8fc54703c86b..8b69c8afc0f9 100644
--- a/include/tools/pstm.hxx
+++ b/include/tools/pstm.hxx
@@ -144,7 +144,6 @@ class TOOLS_DLLPUBLIC SvPersistStream : public SvStream
SvPersistUIdx aPUIdx;
sal_uIntPtr nStartIdx;
const SvPersistStream * pRefStm;
- sal_uInt32 nFlags;
virtual sal_uIntPtr GetData( void* pData, sal_uIntPtr nSize ) SAL_OVERRIDE;
virtual sal_uIntPtr PutData( const void* pData, sal_uIntPtr nSize ) SAL_OVERRIDE;
@@ -156,8 +155,6 @@ protected:
sal_uInt32 ReadObj( SvPersistBase * & rpObj, bool bRegister );
public:
- bool IsStreamed( SvPersistBase * pObj ) const
- { return 0 != GetIndex( pObj ); }
virtual void ResetError() SAL_OVERRIDE;
SvPersistStream( SvClassManager &, SvStream * pStream,
@@ -170,9 +167,6 @@ public:
SvPersistBase * GetObject( sal_uIntPtr nIdx ) const;
sal_uIntPtr GetIndex( SvPersistBase * ) const;
- void SetContextFlags( sal_uInt32 n ) { nFlags = n; }
- sal_uInt32 GetContextFlags() const { return nFlags; }
-
static void WriteCompressed( SvStream & rStm, sal_uInt32 nVal );
static sal_uInt32 ReadCompressed( SvStream & rStm );