Commit cabe22de authored by dimitri's avatar dimitri

File should now work with all Qt versions.

parent ccd28391
...@@ -670,7 +670,10 @@ void RTFGenerator::beginRTFDocument() ...@@ -670,7 +670,10 @@ void RTFGenerator::beginRTFDocument()
ASSERT(index < array.size()); ASSERT(index < array.size());
} }
if (array.at(index) != 0) if (array.at(index) != 0)
msg("Style '%s' redefines \\s%d.\n", iter.currentKey().data(), index); {
QCString key(iter.currentKey());
msg("Style '%s' redefines \\s%d.\n", key.data(), index);
}
array.at(index) = style; array.at(index) = style;
} }
......
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