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

Jan Holesovsky kendy at collabora.com
Mon May 11 21:58:12 PDT 2015


 sw/source/core/fields/cellfml.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0c129aa3df35a056ec739579002b2fc958fb3a48
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Tue May 12 06:57:15 2015 +0200

    sw: Disambiguate future pTable.
    
    Change-Id: Ie3e217574bc9363c45b54015e8e16042b65adb45

diff --git a/sw/source/core/fields/cellfml.cxx b/sw/source/core/fields/cellfml.cxx
index b163b6b..4e20349 100644
--- a/sw/source/core/fields/cellfml.cxx
+++ b/sw/source/core/fields/cellfml.cxx
@@ -949,10 +949,10 @@ void SwTableFormula::GetBoxes( const SwTableBox& rSttBox,
             if( pTbl->IsHeadline( *pLine ) )
                 break;      // headline in this area!
 
-            const SwTabFrm *pTable = pStt->FindTabFrm();
+            const SwTabFrm *pStartTable = pStt->FindTabFrm();
             const SwTabFrm *pEndTable = pEnd->FindTabFrm();
 
-            if( pTable == pEndTable ) // no split table
+            if (pStartTable == pEndTable) // no split table
                 break;
 
             // then remove table headers


More information about the Libreoffice-commits mailing list