diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-08-13 21:07:18 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-08-13 22:48:11 +0200 |
commit | 3a085e0b7e9249310edffeabe1c48b06b9d1fae0 (patch) | |
tree | bdbe50d4a0f508e09c9bcb61c576ade4099eec8d /filter/inc | |
parent | 03ec685a0839482995bf8815a1528ee15d2afe3c (diff) |
PPTParagraphObj: fix problems in previous commit:
- check for a null List element is actually check for valid index
- there may be any number of character properties for every paragraph,
so need to pass in 2 parameters to PPTParagraphObj ctor
- PPTTextObj::PPTTextObj: nIdx became n in one place
- PPTTextObj::PPTTextObj: n++ dropped in one place
Change-Id: I590834012c46b7885ba5aa9c50655bf62439a0e9
Diffstat (limited to 'filter/inc')
-rw-r--r-- | filter/inc/filter/msfilter/svdfppt.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/inc/filter/msfilter/svdfppt.hxx b/filter/inc/filter/msfilter/svdfppt.hxx index 4693ff617a21..1940e67c50e0 100644 --- a/filter/inc/filter/msfilter/svdfppt.hxx +++ b/filter/inc/filter/msfilter/svdfppt.hxx @@ -1162,7 +1162,8 @@ public: ); PPTParagraphObj( PPTStyleTextPropReader&, - sal_uInt32 nCurPos, + size_t nCurParaPos, + size_t& rnCurCharPos, const PPTStyleSheet&, sal_uInt32 nInstance, PPTTextRulerInterpreter& rRuler |