Fix const-ness of ClangCodeModel::Internal::CompletionChunksToTextConverter::inDesiredTextFormat(().

Change-Id: I622b65d7d8fd90d67863282fe85b867acf16b899
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
Friedemann Kleint
2016-01-19 15:34:31 +01:00
parent 01f144d514
commit f8d4e4954b

View File

@@ -296,7 +296,7 @@ void CompletionChunksToTextConverter::addExtraVerticalSpaceBetweenBraces(
} }
} }
QString CompletionChunksToTextConverter::inDesiredTextFormat(const Utf8String &text) QString CompletionChunksToTextConverter::inDesiredTextFormat(const Utf8String &text) const
{ {
if (m_textFormat == TextFormat::Html) if (m_textFormat == TextFormat::Html)
return text.toString().toHtmlEscaped(); return text.toString().toHtmlEscaped();