Core: Change IEditor::document() to const

All the implementations are const.

Change-Id: Ib9753fe764dd482d4f4392eec70878d42edc737a
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Orgad Shaneh
2018-09-25 20:47:14 +03:00
committed by Orgad Shaneh
parent 4b42789bda
commit 1486359251
15 changed files with 15 additions and 15 deletions

View File

@@ -70,7 +70,7 @@ AndroidManifestEditorWidget *AndroidManifestEditor::widget() const
return static_cast<AndroidManifestEditorWidget *>(Core::IEditor::widget());
}
Core::IDocument *AndroidManifestEditor::document()
Core::IDocument *AndroidManifestEditor::document() const
{
return textEditor()->textDocument();
}