Kaydet (Commit) 45ef5c48 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1130491 Unused pointer value

Change-Id: I6de205be4c35a0f06fa9c16671b99d44fb47f9d5
üst 604ce756
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment