CPPEditor: Fix cppquickfix_test compile

Change-Id: Ibf91733e08b818dffd16dd9fc171efec5a4488b0
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
David Schulz
2013-08-13 14:07:25 +02:00
committed by Nikolai Kosjar
parent 3c14ceebad
commit 74a94e656e

View File

@@ -1264,7 +1264,7 @@ void CppEditorPlugin::test_quickfix_InsertDeclFromDef()
QList<Include> includesForSource(const QByteArray &source) QList<Include> includesForSource(const QByteArray &source)
{ {
const QString fileName = TestIncludePaths::TestIncludePaths::directoryOfTestFile() + QLatin1String("/file.cpp"); const QString fileName = TestIncludePaths::directoryOfTestFile() + QLatin1String("/file.cpp");
Utils::FileSaver srcSaver(fileName); Utils::FileSaver srcSaver(fileName);
srcSaver.write(source); srcSaver.write(source);
srcSaver.finalize(); srcSaver.finalize();