diff options
author | David Tardon <dtardon@redhat.com> | 2012-12-19 09:15:14 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-12-19 09:20:15 +0100 |
commit | 2395a3fb74a90cc3166dbe4722250376eff58547 (patch) | |
tree | 3c7bef1958e1525485915f999c1399f876f30f8d /sd | |
parent | 991466907b91255c47caf7726e3de1854849133e (diff) |
fdo#58129 fix ppt export of paragraphs
Change-Id: I8784c7a84e7f1d3173b6e134377e9232906d77ba
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/epptso.cxx | 4 | ||||
-rw-r--r-- | sd/source/filter/eppt/text.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index 201f1f16249f..c28f4d1e6eae 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -732,7 +732,7 @@ void PPTWriter::ImplWriteParagraphs( SvStream& rOut, TextObj& rTextObj ) { ParagraphObj* pPara = rTextObj.GetParagraph(i); PortionObj* pPortion = pPara->front(); - nCharCount = pPara->size(); + nCharCount = pPara->CharacterCount(); nDepth = pPara->nDepth; if ( nDepth > 4) @@ -2980,7 +2980,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a for ( sal_uInt32 i = 0; i < aTextObj.ParagraphCount() ; ++i ) { ParagraphObj* pPara = aTextObj.GetParagraph(i); - sal_uInt32 nCharCount = pPara->Count(); + sal_uInt32 nCharCount = pPara->CharacterCount(); sal_uInt16 nDepth = pPara->nDepth; if ( nDepth > 4) nDepth = 4; diff --git a/sd/source/filter/eppt/text.hxx b/sd/source/filter/eppt/text.hxx index 0137e68a617e..e69023852ea5 100644 --- a/sd/source/filter/eppt/text.hxx +++ b/sd/source/filter/eppt/text.hxx @@ -214,7 +214,7 @@ class ParagraphObj : public std::vector<PortionObj*>, public PropStateValue, pub ~ParagraphObj(); void Write( SvStream* pStrm ); - sal_uInt32 Count() const { return mnTextSize; }; + sal_uInt32 CharacterCount() const { return mnTextSize; }; ParagraphObj& operator=( const ParagraphObj& rParagraphObj ); }; |