summaryrefslogtreecommitdiff
path: root/tools/source/stream
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-05-03 00:05:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-05-03 00:06:33 +0100
commitd726281e9020ebaddfdf6659ecfe7a0454014dff (patch)
tree439e6e848904ec034c8630444d5dbe3e6443ab06 /tools/source/stream
parent80fdb3498c68f9e7f9bdd98674e762cb084fce57 (diff)
Related: fdo#47644 compound storage backend is poor at knowing stream size
Change-Id: Ie4aa6939f9f37e04fda5425a6e28c5d846a9cb62
Diffstat (limited to 'tools/source/stream')
-rw-r--r--tools/source/stream/stream.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index 96cabc266c34..c1f06a78d97f 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -1703,9 +1703,9 @@ sal_Size SvStream::Seek( sal_Size nFilePos )
return nBufFilePos + nBufActualPos;
}
-//probably not as inefficient as it looks seeing as STREAM_SEEK_TO_END in the
-//Seek backends is nomally special cased feel free to make this virtual and add
-//good implementations for SvFileStream etc
+//STREAM_SEEK_TO_END in the some of the Seek backends is special cased to be
+//efficient, in others e.g. SotStorageStream it's really horribly slow, and in
+//those this should be overridden
sal_Size SvStream::remainingSize()
{
sal_Size nCurr = Tell();