[Libreoffice-commits] .: filter/source

Julien Nabet serval2412 at kemper.freedesktop.org
Sat Jun 18 01:34:32 PDT 2011


 filter/source/msfilter/svdfppt.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 4b8c1b55ec7c90ba517d275557c5c93a8a342e92
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Jun 18 10:34:07 2011 +0200

    Just 2 little fixes

diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 3f32014..9b63539 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -6850,7 +6850,7 @@ PPTTextObj::PPTTextObj( SvStream& rIn, SdrPowerPointImport& rSdrPowerPointImport
                                                             PPTCharPropSet* pCurrent = (PPTCharPropSet*)aCharPropList.GetObject( nIdx );
                                                             sal_Int32       nNextStringLen = pCurrent->maString.Len();
 
-                                                            DBG_ASSERT( pFE->pField1, "missing field!" );
+                                                            DBG_ASSERT( (*FE)->pField1, "missing field!" );
                                                             if (!(*FE)->pField1)
                                                                 break;
 
@@ -6912,8 +6912,8 @@ PPTTextObj::PPTTextObj( SvStream& rIn, SdrPowerPointImport& rSdrPowerPointImport
                                     }
                                     n--;
                                 }
-                                for( size_t i = 0, n = FieldList.size(); i < n; ++i ) {
-                                    delete FieldList[ i ];
+                                for( size_t j = 0, n2 = FieldList.size(); j < n2; ++j ) {
+                                    delete FieldList[ j ];
                                 }
                             }
                             mpImplTextObj->mpParagraphList = new PPTParagraphObj*[ nParagraphs ];


More information about the Libreoffice-commits mailing list