summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgelem.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-22 09:24:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-22 16:12:15 +0000
commit786573068dce1f71c53057f98b5822c401c9f3ff (patch)
tree0288ead6e1c55d572e1666962401901798ed89ca /sot/source/sdstor/stgelem.hxx
parent26e6d4b05ab444e6a7529ffcac7fbe592fc94833 (diff)
limit storage entry max size to size of underlying stream
Change-Id: Ie3772338009c07fea40b637621b1170863830e14 Reviewed-on: https://gerrit.libreoffice.org/17296 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sot/source/sdstor/stgelem.hxx')
-rw-r--r--sot/source/sdstor/stgelem.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgelem.hxx b/sot/source/sdstor/stgelem.hxx
index afeb9503da4f..678b5810d2db 100644
--- a/sot/source/sdstor/stgelem.hxx
+++ b/sot/source/sdstor/stgelem.hxx
@@ -129,7 +129,7 @@ public:
void GetName( OUString& rName ) const;
// fill in the name
sal_Int32 Compare( const StgEntry& ) const; // compare two entries
- bool Load( const void* pBuffer, sal_uInt32 nBufSize );
+ bool Load( const void* pBuffer, sal_uInt32 nBufSize, sal_uInt64 nUnderlyingStreamSize );
void Store( void* );
StgEntryType GetType() const { return (StgEntryType) cType; }
sal_Int32 GetStartPage() const { return nPage1; }