diff options
author | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-08-26 22:13:20 +0200 |
---|---|---|
committer | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-09-06 22:39:09 +0200 |
commit | 80bf270d9b461261335103bbd6625345ec3c9d78 (patch) | |
tree | 1c7ec04ca8d902b8c3ab1b739027e6a267d0a764 /sw | |
parent | aa9fe644035959ab63115494886e18a836377255 (diff) |
[cppchecker] deletion of not needed variable
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/docchart.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/doc/docchart.cxx b/sw/source/core/doc/docchart.cxx index 7297413eb239..69b5a4244e55 100644 --- a/sw/source/core/doc/docchart.cxx +++ b/sw/source/core/doc/docchart.cxx @@ -141,10 +141,9 @@ void SwDoc::_UpdateCharts( const SwTable& rTbl, ViewShell& rVSh ) const while( 0 != (pStNd = aIdx.GetNode().GetStartNode()) ) { aIdx++; - SwFrm* pFrm; if( 0 != ( pONd = aIdx.GetNode().GetOLENode() ) && aName.Equals( pONd->GetChartTblName() ) && - 0 != ( pFrm = pONd->getLayoutFrm( rVSh.GetLayout() ) ) ) + pONd->getLayoutFrm( rVSh.GetLayout() ) ) { SwChartDataProvider *pPCD = GetChartDataProvider(); if (pPCD) |