summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2010-02-02 09:51:58 +0100
committerMathias Bauer <mba@openoffice.org>2010-02-02 09:51:58 +0100
commit1153489dc129ff4d4b26fbf39f154b3833f423f4 (patch)
tree92c41ee0f6231fbb788d61416d600b894553fac4 /tools
parent021f94f0898ce6c6367ac5e4c93cba448b01951b (diff)
rollback last change
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/stream.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx
index e2b7f0e9b93a..23496322fa4c 100644
--- a/tools/inc/tools/stream.hxx
+++ b/tools/inc/tools/stream.hxx
@@ -777,6 +777,7 @@ class TOOLS_DLLPUBLIC SvMemoryStream : public SvStream
SvMemoryStream & operator= (const SvMemoryStream&);
friend class SvCacheStream;
+ sal_Size GetSize() const { return nSize; }
protected:
sal_Size nSize;
@@ -819,7 +820,6 @@ 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; }