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:21:05 +0100 |
commit | 00edfcff58032cc7f90026bd3ce92402e3c7e769 (patch) | |
tree | 3cc3a033b02679c1d1a060924de7626688e5f126 | |
parent | 75118d2f9ebdf96250d3a4c78b695085c3527e4e (diff) |
fdo#58129 fix ppt export of paragraphs
Change-Id: I8784c7a84e7f1d3173b6e134377e9232906d77ba
(cherry picked from commit 2395a3fb74a90cc3166dbe4722250376eff58547)
Signed-off-by: David Tardon <dtardon@redhat.com>
-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 ); }; |