diff options
author | sj <sj@openoffice.org> | 2010-11-30 13:41:46 +0100 |
---|---|---|
committer | sj <sj@openoffice.org> | 2010-11-30 13:41:46 +0100 |
commit | 23cdc612ccef2d48c6c5abad534f40990e921003 (patch) | |
tree | 54e4b8ede901ab12f1cd97e1ad149d5d69a20556 /vcl/source | |
parent | baa3cdb1a532bb79ec3fbfbc23cbb4ee4b566308 (diff) |
impress205: #i115825# fixed copy&paste problem of metafiles
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/metaact.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx index 79d875542509..9a7fb6527e26 100644 --- a/vcl/source/gdi/metaact.cxx +++ b/vcl/source/gdi/metaact.cxx @@ -1441,7 +1441,7 @@ void MetaTextArrayAction::Read( SvStream& rIStm, ImplMetaReadData* pData ) rIStm >> mnLen; rIStm >> nAryLen; - if ( mnIndex > mnLen ) + if ( mnIndex + mnLen > maStr.Len() ) { mnIndex = 0; mpDXAry = 0; |