summaryrefslogtreecommitdiff
path: root/include/tools/stream.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-18 13:18:56 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-19 06:40:28 +0000
commit581e4da5847733a0e87d5ff9cd1c9f2b9fa471fe (patch)
tree9a641b563b2a930056f1e3ce3ed5ad20944b4911 /include/tools/stream.hxx
parent0a17332884db7a999df7190e674cfe2ecc0069c6 (diff)
loplugin:unusedmethods in tools
Change-Id: I26a4ce6e849615d6d24632650ca03c40ab16502e Reviewed-on: https://gerrit.libreoffice.org/25089 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/tools/stream.hxx')
-rw-r--r--include/tools/stream.hxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx
index a77f09537662..a75341eb107c 100644
--- a/include/tools/stream.hxx
+++ b/include/tools/stream.hxx
@@ -153,28 +153,6 @@ public:
};
-// SvAsyncLockBytes
-
-class SvAsyncLockBytes: public SvOpenLockBytes
-{
- sal_uInt64 m_nSize;
- bool m_bTerminated;
-
-public:
-
- SvAsyncLockBytes(SvStream * pStream, bool bOwner):
- SvOpenLockBytes(pStream, bOwner), m_nSize(0), m_bTerminated(false) {}
-
- virtual ErrCode ReadAt(sal_uInt64 nPos, void * pBuffer, sal_Size nCount,
- sal_Size * pRead) const override;
- virtual ErrCode WriteAt(sal_uInt64 nPos, const void * pBuffer, sal_Size nCount,
- sal_Size * pWritten) override;
-
- virtual ErrCode FillAppend(const void * pBuffer, sal_Size nCount,
- sal_Size * pWritten) override;
-};
-
-
// SvStream
class TOOLS_DLLPUBLIC SvStream
@@ -675,8 +653,6 @@ protected:
/// resized. FreeMemory may need to NULLify handles in derived classes.
void FreeMemory();
- SvMemoryStream(void*) { } // for sub-classes
-
public:
SvMemoryStream( void* pBuf, sal_Size nSize, StreamMode eMode);
SvMemoryStream( sal_Size nInitSize=512, sal_Size nResize=64 );