Skip to content

Commit

Permalink
Merge pull request #3 from hkiel/fix_static_analysis
Browse files Browse the repository at this point in the history
fix some warnings from static analyzer
  • Loading branch information
hkiel committed Feb 7, 2016
2 parents bab2c73 + c5bad3e commit bebdc50
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions OMNotebook/OMNotebookGUI/notebook.cpp
Expand Up @@ -3610,7 +3610,7 @@ void NotebookWindow::sketchImageEdit()

// check if text is selected
QTextCursor cursor = subject_->getCursor()->currentCell()->textCursor();
int pos=(subject_->getCursor()->currentCell()->textCursor().position());
//int pos=(subject_->getCursor()->currentCell()->textCursor().position());

/*for(int i=0;i<cells.size();i++)
{
Expand Down Expand Up @@ -3982,22 +3982,13 @@ QVector<Cell*> NotebookWindow::SearchCells(Cell* current)
{
totalcells.append(current4);
current4=current4->next();

}
}

current3=current3->next();

}

}

current2=current2->next();

}

current2=current1->next();

}
current1=current1->next();
}
Expand Down

0 comments on commit bebdc50

Please sign in to comment.