forked from qt-creator/qt-creator
Cpp{Tools,Editor}: Expect UTF-8 encoded literals
Change-Id: I9843c4163aad3fa3f1bfa33060c76328fc2dc25a Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
@@ -802,7 +802,7 @@ Utils::ChangeSet FunctionDeclDefLink::changes(const Snapshot &snapshot, int targ
|
||||
|
||||
// don't change the name if it's in a comment
|
||||
if (hasCommentedName(targetFile->cppDocument()->translationUnit(),
|
||||
QLatin1String(targetFile->cppDocument()->utf8Source()),
|
||||
QString::fromUtf8(targetFile->cppDocument()->utf8Source()),
|
||||
targetFunctionDeclarator, existingParamIndex))
|
||||
replacementName = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user