diff options
-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 ); }; |