CppEditor: Replace two editor() self-checks with direct checks
CppEditor: Replace two editor() self-checks with direct checks

Change-Id: Ice47cc3ad86bd8d1fe6eaa812bf6fbb096fdd56c
Reviewed-by: Fawzi Mohamed <7388270c57edd0fabd71d8eb0322d66e3c40e57e@digia.com>

danimo/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,xianian/qt-creator,amyvmiwei/qt-creator,kuba1/qtcreator,danimo/qt-creator,AltarBeastiful/qt-creator,maui-packages/qt-creator,danimo/qt-creator,farseerri/git_code,maui-packages/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,Distrotech/qtcreator,AltarBeastiful/qt-creator,danimo/qt-creator,danimo/qt-creator,amyvmiwei/qt-creator,maui-packages/qt-creator,Distrotech/qtcreator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,danimo/qt-creator,farseerri/git_code,xianian/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,Distrotech/qtcreator,xianian/qt-creator,kuba1/qtcreator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,kuba1/qtcreator,kuba1/qtcreator,kuba1/qtcreator,maui-packages/qt-creator,farseerri/git_code,danimo/qt-creator,farseerri/git_code,martyone/sailfish-qtcreator,xianian/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,Distrotech/qtcreator,farseerri/git_code,kuba1/qtcreator,danimo/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,Distrotech/qtcreator,AltarBeastiful/qt-creator,xianian/qt-creator,xianian/qt-creator,danimo/qt-creator,kuba1/qtcreator,Distrotech/qtcreator,maui-packages/qt-creator,kuba1/qtcreator,kuba1/qtcreator,maui-packages/qt-creator,farseerri/git_code,AltarBeastiful/qt-creator,maui-packages/qt-creator,xianian/qt-creator,xianian/qt-creator,AltarBeastiful/qt-creator,farseerri/git_code,Distrotech/qtcreator