CCMAIL: cniehaus@kde.org
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=536469
***************************************************************************/
#include "element.h"
+#include <kdebug.h>
Element::Element()
{
if ( o->type() == type )
return *o;
}
- ChemicalDataObject *cdo;
- return *cdo;
+ kFatal() << "No such object\n";
+ ChemicalDataObject *crashme = 0;
+ return *crashme;
}
QVariant Element::dataAsVariant( ChemicalDataObject::BlueObelisk type ) const