summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/inc/lwpsvstream.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/inc/lwpsvstream.hxx')
-rw-r--r--lotuswordpro/inc/lwpsvstream.hxx20
1 files changed, 7 insertions, 13 deletions
diff --git a/lotuswordpro/inc/lwpsvstream.hxx b/lotuswordpro/inc/lwpsvstream.hxx
index 445c2df5d0ae..9a7271941f71 100644
--- a/lotuswordpro/inc/lwpsvstream.hxx
+++ b/lotuswordpro/inc/lwpsvstream.hxx
@@ -68,27 +68,21 @@ class SvStream;
class LwpSvStream
{
public:
- LwpSvStream(SvStream* pStream, LwpSvStream * pCompressed = nullptr);
+ LwpSvStream(SvStream* pStream, LwpSvStream* pCompressed = nullptr);
size_t Read(void* bytes, size_t nBytesToRead);
void SeekRel(sal_Int64 pos);
sal_Int64 Tell();
sal_Int64 Seek(sal_Int64 pos);
bool CheckSeek(sal_Int64 pos);
- LwpSvStream& ReadUInt8( sal_uInt8& rUInt8 );
- LwpSvStream& ReadUInt16( sal_uInt16& rUInt16 );
- LwpSvStream& ReadUInt32( sal_uInt32& rUInt32 );
+ LwpSvStream& ReadUInt8(sal_uInt8& rUInt8);
+ LwpSvStream& ReadUInt16(sal_uInt16& rUInt16);
+ LwpSvStream& ReadUInt32(sal_uInt32& rUInt32);
static const sal_uInt32 LWP_STREAM_BASE;
- LwpSvStream * GetCompressedStream()
- {
- return m_pCompressedStream;
- };
- SvStream * GetStream()
- {
- return m_pStream;
- }
+ LwpSvStream* GetCompressedStream() { return m_pCompressedStream; };
+ SvStream* GetStream() { return m_pStream; }
private:
// when the file opened is small file, m_pStream is the decompressed stream
@@ -97,7 +91,7 @@ private:
// when the file opened is small file, this stream is for saving the
// compressed stream which is to be used for Chart/OLE as BENTO container
- LwpSvStream * m_pCompressedStream;
+ LwpSvStream* m_pCompressedStream;
};
#endif