From 34c1092a798a7792037fbe32acfb50dfebf84dc3 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Mon, 18 Sep 2000 18:00:58 +0000 Subject: File should now work with all Qt versions. --- src/rtfgen.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp index 76059a1..cff0ce4 100644 --- a/src/rtfgen.cpp +++ b/src/rtfgen.cpp @@ -670,7 +670,10 @@ void RTFGenerator::beginRTFDocument() ASSERT(index < array.size()); } 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; } -- cgit v0.12