]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_variabledict.cpp
Adding missing implementation.
[architektonas] / src / base / rs_variabledict.cpp
index 743ba4a27b182b404761bb37425b2d0fbaa81482..a85bb523eea16446a58b18f463c5ceecdf91db6c 100644 (file)
@@ -3,7 +3,9 @@
 // Part of the Architektonas Project
 // Originally part of QCad Community Edition by Andrew Mustun
 // Extensively rewritten and refactored by James L. Hammons
-// (C) 2010 Underground Software
+// Portions copyright (C) 2001-2003 RibbonSoft
+// Copyright (C) 2010 Underground Software
+// See the README and GPLv2 files for licensing and warranty information
 //
 // JLH = James L. Hammons <jlhamm@acm.org>
 //
@@ -284,13 +286,11 @@ std::ostream & operator<<(std::ostream & os, RS_VariableDict & d)
 //     Q3DictIterator<RS_Variable> it(d.variables);
        QHashIterator<QString, RS_Variable *> it(d.variables);
 
-//     for(; it.current(); ++it)
        while (it.hasNext())
        {
                it.next();
-//Hmm, not sure about this...
-#warning "Not sure if this is correct usage (.toAscii().data())... !!! FIX !!!"
                os << it.key().toAscii().data() << ": ";
+
                switch (it.value()->getType())
                {
                case RS2::VariableVoid: