diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-16 22:15:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-18 12:21:26 +0100 |
commit | 5f2acb17260ee3c874412ba79bc966292100bccc (patch) | |
tree | 824224d22426ef8f583effae9b8a6d64884b7c83 /tools/inc/tools/stream.hxx | |
parent | e689ed9b937213225f9d8c7f57d324041eff7f4b (diff) |
add a SvStream::remainingSize
Diffstat (limited to 'tools/inc/tools/stream.hxx')
-rw-r--r-- | tools/inc/tools/stream.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx index 71cae4e0e3f2..dc097b8c563f 100644 --- a/tools/inc/tools/stream.hxx +++ b/tools/inc/tools/stream.hxx @@ -390,6 +390,8 @@ public: sal_Size Seek( sal_Size nPos ); sal_Size SeekRel( sal_sSize nPos ); sal_Size Tell() const { return nBufFilePos+nBufActualPos; } + //length between current (Tell()) pos and end of stream + sal_Size remainingSize(); void Flush(); sal_Bool IsEof() const { return bIsEof; } // next Tell() <= nSize |