diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-03 15:24:09 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-06 11:45:28 +0000 |
commit | c4379aacbe9d5732dadf02c2d4306266e162ffc6 (patch) | |
tree | 089c27b6ba2ad77be7cafb277477035e130f7544 /sot/source/sdstor/stgstrms.hxx | |
parent | 5aff134960b046a05f6255d10fd6d8ec72a3ff41 (diff) |
loplugin:unusedmethods sot
Change-Id: I14e8bb3e4e38ade1044ce1c50c9676a65152724c
Reviewed-on: https://gerrit.libreoffice.org/16733
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sot/source/sdstor/stgstrms.hxx')
-rw-r--r-- | sot/source/sdstor/stgstrms.hxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sot/source/sdstor/stgstrms.hxx b/sot/source/sdstor/stgstrms.hxx index 32dd1bdafc72..ba51547fb359 100644 --- a/sot/source/sdstor/stgstrms.hxx +++ b/sot/source/sdstor/stgstrms.hxx @@ -81,15 +81,13 @@ public: sal_Int32 GetStart() const { return nStart; } sal_Int32 GetSize() const { return nSize; } sal_Int32 GetPage() const { return nPage; } - short GetPageSize() const { return nPageSize; } sal_Int32 GetPages() const { return ( nSize + nPageSize - 1 ) / nPageSize;} - short GetOffset() const { return nOffset;} - void SetEntry( StgDirEntry& ); + short GetOffset() const { return nOffset;} + void SetEntry( StgDirEntry& ); virtual bool SetSize( sal_Int32 ); virtual bool Pos2Page( sal_Int32 nBytePos ); virtual sal_Int32 Read( void*, sal_Int32 ) { return 0; } virtual sal_Int32 Write( const void*, sal_Int32 ) { return 0; } - virtual rtl::Reference< StgPage > GetPhysPage( sal_Int32 nBytePos, bool bForce = false ); virtual bool IsSmallStrm() const { return false; } }; @@ -106,7 +104,6 @@ public: using StgStrm::GetPage; sal_Int32 GetPage( short, bool, sal_uInt16 *pnMasterAlloc = 0); virtual bool SetSize( sal_Int32 ) SAL_OVERRIDE; - virtual rtl::Reference< StgPage > GetPhysPage( sal_Int32 nBytePos, bool bForce = false ) SAL_OVERRIDE; }; // The stream has a size increment which normally is 1, but which can be |