diff options
author | Kurt Zenker <kz@openoffice.org> | 2010-01-15 15:13:13 +0100 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2010-01-15 15:13:13 +0100 |
commit | 4eeae16d41ddb88df9b4aec1fe2ea975b8ef5ec7 (patch) | |
tree | 339ecc4b1d536382f0c14c1ac50646abd290d91b /tools | |
parent | 760c83ecf2cb3f998364e37c56d5c72d99699b46 (diff) | |
parent | b7362dfa446a3876529d7223306675f3b7d371c8 (diff) |
CWS-TOOLING: integrate CWS fwk120
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/stream.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx index bacaac89fe44..23496322fa4c 100644 --- a/tools/inc/tools/stream.hxx +++ b/tools/inc/tools/stream.hxx @@ -776,6 +776,9 @@ class TOOLS_DLLPUBLIC SvMemoryStream : public SvStream SvMemoryStream (const SvMemoryStream&); SvMemoryStream & operator= (const SvMemoryStream&); + friend class SvCacheStream; + sal_Size GetSize() const { return nSize; } + protected: sal_Size nSize; sal_Size nResize; @@ -817,7 +820,7 @@ public: virtual void ResetError(); - sal_Size GetSize() const { return nSize; } + sal_Size GetEndOfData() const { return nEndOfData; } const void* GetData() { Flush(); return pBuf; } operator const void*() { Flush(); return pBuf; } virtual sal_uInt16 IsA() const; |