diff options
author | Renato Araujo Oliveira Filho <renato.filho@openbossa.org> | 2009-08-25 17:02:39 -0300 |
---|---|---|
committer | Renato Araujo Oliveira Filho <renato.filho@openbossa.org> | 2009-08-25 17:02:39 -0300 |
commit | 09a312b7788a81e0af59fc090666aea37b71fff7 (patch) | |
tree | 862aecc296e9016bb5c707bd77f23e5984be0167 /apiextractor.cpp | |
parent | 7f14990c36bec778efbb51c4ed400d10cc1d51c4 (diff) |
Changed acess to preprocessor file, to be reused in the same process.
Diffstat (limited to 'apiextractor.cpp')
-rw-r--r-- | apiextractor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apiextractor.cpp b/apiextractor.cpp index 153d0da3c..97fa2a65d 100644 --- a/apiextractor.cpp +++ b/apiextractor.cpp @@ -207,7 +207,7 @@ static bool preprocess(const QString& sourceFile, QDir::setCurrent(currentDir); - if (!targetFile.open(QIODevice::WriteOnly | QIODevice::Text)) { + if (!targetFile.open(QIODevice::ReadWrite | QIODevice::Text)) { std::cerr << "Failed to write preprocessed file: " << qPrintable(targetFile.fileName()) << std::endl; return false; } |