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 | 3894ee4d0cd901835d9147bc11093f47f4b10292 (patch) | |
tree | c8187838c033a530516316510e5beaabd3b1a15c /sfx2 | |
parent | 36f7b64c6c83a8023e0525ae3c527613243a9056 (diff) | |
parent | 8da0b34d6ee5201d3601e16673f78e9ad3638d31 (diff) |
CWS-TOOLING: integrate CWS fwk120
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 683aedcbf32f..f8a77e721533 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; } |