@@ -14,12 +14,10 @@ * file. */ #include "config.h" -#include - #import "OFXMLNode.h" #import "OFString.h" #import "macros.h" @@ -29,12 +27,11 @@ OF_INVALID_INIT_METHOD } - (OFString*)stringValue { - [self doesNotRecognizeSelector: _cmd]; - abort(); + OF_UNRECOGNIZED_SELECTOR } - (intmax_t)decimalValue { return [[self stringValue] decimalValue]; @@ -68,25 +65,23 @@ } - (OFString*)XMLStringWithIndentation: (unsigned int)indentation level: (unsigned int)level { - [self doesNotRecognizeSelector: _cmd]; - abort(); + OF_UNRECOGNIZED_SELECTOR } - (OFString*)description { return [self XMLStringWithIndentation: 2]; } - (OFXMLElement*)XMLElementBySerializing { - [self doesNotRecognizeSelector: _cmd]; - abort(); + OF_UNRECOGNIZED_SELECTOR } - copy { return [self retain]; } @end