[Libreoffice-commits] core.git: svx/source

Miklos Vajna vmiklos at collabora.co.uk
Wed Feb 18 06:14:56 PST 2015


 svx/source/svdraw/svdotext.cxx |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

New commits:
commit e2664ef6b1215356f5b0c815b60a2c6b5f014882
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Wed Feb 18 14:56:33 2015 +0100

    nParaAnz -> nParaCount
    
    Change-Id: Iab409aedb445decfbe0af1e9b70dc158696c65b4

diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index d15e642..0ce0b39 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -467,18 +467,18 @@ bool SdrTextObj::HasTextImpl( SdrOutliner* pOutliner )
     if(pOutliner)
     {
         Paragraph* p1stPara=pOutliner->GetParagraph( 0 );
-        sal_Int32 nParaAnz=pOutliner->GetParagraphCount();
+        sal_Int32 nParaCount=pOutliner->GetParagraphCount();
         if(p1stPara==NULL)
-            nParaAnz=0;
+            nParaCount=0;
 
-        if(nParaAnz==1)
+        if(nParaCount==1)
         {
             // if it is only one paragraph, check if that paragraph is empty
             if( pOutliner->GetText(p1stPara).isEmpty() )
-                nParaAnz = 0;
+                nParaCount = 0;
         }
 
-        bRet= nParaAnz!=0;
+        bRet= nParaCount!=0;
     }
     return bRet;
 }
@@ -872,8 +872,8 @@ OutlinerParaObject* SdrTextObj::GetEditOutlinerParaObject() const
     OutlinerParaObject* pPara=NULL;
     if( HasTextImpl( pEdtOutl ) )
     {
-        sal_Int32 nParaAnz = pEdtOutl->GetParagraphCount();
-        pPara = pEdtOutl->CreateParaObject(0, nParaAnz);
+        sal_Int32 nParaCount = pEdtOutl->GetParagraphCount();
+        pPara = pEdtOutl->CreateParaObject(0, nParaCount);
     }
     return pPara;
 }


More information about the Libreoffice-commits mailing list