coverity#1130491 Unused pointer value
Change-Id: I6de205be4c35a0f06fa9c16671b99d44fb47f9d5
This commit is contained in:
@@ -615,10 +615,9 @@ void SwViewShell::UpdateAllCharts()
|
||||
sal_Bool SwViewShell::HasCharts() const
|
||||
{
|
||||
sal_Bool bRet = sal_False;
|
||||
const SwStartNode *pStNd;
|
||||
SwNodeIndex aIdx( *GetDoc()->GetNodes().GetEndOfAutotext().
|
||||
StartOfSectionNode(), 1 );
|
||||
while ( 0 != (pStNd = aIdx.GetNode().GetStartNode()) )
|
||||
while (aIdx.GetNode().GetStartNode())
|
||||
{
|
||||
++aIdx;
|
||||
const SwOLENode *pNd = aIdx.GetNode().GetOLENode();
|
||||
|
Reference in New Issue
Block a user