diff options
author | obo <obo@openoffice.org> | 2010-06-15 06:55:41 +0200 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-06-15 06:55:41 +0200 |
commit | 6ff88de548f1325a07002b43d17f9d4f7bc052c0 (patch) | |
tree | c7a6913037e2abf74b055602adeb345da95f728c /filter | |
parent | 4a2cddf0b2d3b295118dbbca70f99cd6422b981d (diff) | |
parent | 60d09eb4c408aef689e4e1519da28f686d59cab6 (diff) |
CWS-TOOLING: integrate CWS impress190
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/svdfppt.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 8d8e48832dc9..73868d3a9f55 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -5087,6 +5087,10 @@ void PPTStyleTextPropReader::ReadParaProps( SvStream& rIn, SdrPowerPointImport& rIn >> nCharCount >> aParaPropSet.pParaSet->mnDepth; // Einruecktiefe + aParaPropSet.pParaSet->mnDepth = + std::min(sal_uInt16(9), + aParaPropSet.pParaSet->mnDepth); + nCharCount--; rIn >> nMask; @@ -5320,8 +5324,8 @@ void PPTStyleTextPropReader::Init( SvStream& rIn, SdrPowerPointImport& rMan, con DffRecordHeader aTextHd; rIn >> aTextHd; sal_uInt32 nMaxLen = aTextHd.nRecLen; - if ( nMaxLen > 0xFFFF ) - nMaxLen = 0xFFFF; + if ( nMaxLen >= 0xFFFF ) + nMaxLen = 0xFFFE; if( aTextHd.nRecType == PPT_PST_TextCharsAtom ) { |