Commit 483449e4 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

There is no output stream so there's nothing to expand.

parent c7e1104e
......@@ -581,7 +581,8 @@ QByteArray Preprocessor::expand(const QByteArray &source)
void Preprocessor::expand(const QByteArray &source, QByteArray *result)
{
_expand(source, result);
if (result)
_expand(source, result);
}
void Preprocessor::expand(const char *first, const char *last, QByteArray *result)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment