CppEditor: Remove duplicate code in cppeditorplugin.cpp
CppEditor: Remove duplicate code in cppeditorplugin.cpp

Change-Id: Ifeff4455b1ce0a0a7299f009beaf6319e9abb523
Reviewed-by: David Schulz <f07954e8cc0c222cd136162588d217f330598215@digia.com>

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