diff options
author | Michael Stahl <mst@openoffice.org> | 2009-11-02 19:08:00 +0100 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2009-11-02 19:08:00 +0100 |
commit | 8da0b34d6ee5201d3601e16673f78e9ad3638d31 (patch) | |
tree | 791b24968fc07511e653ac85f64f777d4617e0b0 /sfx2 | |
parent | 368a1240e2876da4561d21b19172fc7745b26188 (diff) |
#i105745#: tools/stream.hxx: API change:
make SvMemoryStream::GetSize() private
introduce new public SvMemoryStream::GetEndOfData()
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/filedlghelper.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index 5a0d2f4a69a0..3c5348f53a9c 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -801,7 +801,9 @@ IMPL_LINK( FileDialogHelper_Impl, TimeOutHdl_Impl, Timer*, EMPTYARG ) aData << aBmp; - Sequence < sal_Int8 > aBuffer( (sal_Int8*) aData.GetData(), aData.GetSize() ); + const Sequence < sal_Int8 > aBuffer( + static_cast< const sal_Int8* >(aData.GetData()), + aData.GetEndOfData() ); aAny <<= aBuffer; } |