diff options
| author | Roberto Raggi <[email protected]> | 2010-08-11 14:24:28 +0200 |
|---|---|---|
| committer | Roberto Raggi <[email protected]> | 2010-08-11 15:25:19 +0200 |
| commit | 41b4af05010ef9ae564fcff00b904f22c5f617e0 (patch) | |
| tree | 915171245238821c9b3559ae269d3d8e4b4081e1 /src/libs/cplusplus/CppDocument.cpp | |
| parent | f74ba9daef50a0b267056c8753819d59621fc000 (diff) | |
Get rid of the prefix findOrInsert for the functions in CPlusPlus::Control.
Diffstat (limited to 'src/libs/cplusplus/CppDocument.cpp')
| -rw-r--r-- | src/libs/cplusplus/CppDocument.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/cplusplus/CppDocument.cpp b/src/libs/cplusplus/CppDocument.cpp index e6197884d2a..e86cb18b2e8 100644 --- a/src/libs/cplusplus/CppDocument.cpp +++ b/src/libs/cplusplus/CppDocument.cpp @@ -215,7 +215,7 @@ Document::Document(const QString &fileName) _control->setDiagnosticClient(new DocumentDiagnosticClient(this, &_diagnosticMessages)); const QByteArray localFileName = fileName.toUtf8(); - const StringLiteral *fileId = _control->findOrInsertStringLiteral(localFileName.constData(), + const StringLiteral *fileId = _control->stringLiteral(localFileName.constData(), localFileName.size()); _translationUnit = new TranslationUnit(_control, fileId); _translationUnit->setQtMocRunEnabled(true); |
