diff --git a/src/libs/vdxf/libdxfrw/drw_interface.h b/src/libs/vdxf/libdxfrw/drw_interface.h index d18cb5afd..b0de89012 100644 --- a/src/libs/vdxf/libdxfrw/drw_interface.h +++ b/src/libs/vdxf/libdxfrw/drw_interface.h @@ -62,9 +62,6 @@ public: /** Called for every point */ virtual void addPoint(const DRW_Point &) { } - /** Called for every ASTM notch */ - virtual void addASTMNotch(const DRW_ASTMNotch &) { } - /** Called for every line */ virtual void addLine(const DRW_Line &) { } diff --git a/src/libs/vdxf/libdxfrw/libdxfrw.cpp b/src/libs/vdxf/libdxfrw/libdxfrw.cpp index e807179a4..3f74513ba 100644 --- a/src/libs/vdxf/libdxfrw/libdxfrw.cpp +++ b/src/libs/vdxf/libdxfrw/libdxfrw.cpp @@ -2369,28 +2369,6 @@ bool dxfRW::processPoint() { return true; } -bool dxfRW::processASTMNotch() -{ - DRW_DBG("dxfRW::processASTMNotch\n"); - int code; - DRW_ASTMNotch notch; - while (reader->readRec(&code)) { - DRW_DBG(code); DRW_DBG("\n"); - switch (code) { - case 0: { - nextentity = reader->getString(); - DRW_DBG(nextentity); DRW_DBG("\n"); - iface->addASTMNotch(notch); - return true; //found new entity or ENDSEC, terminate - } - default: - notch.parseCode(code, reader); - break; - } - } - return true; -} - bool dxfRW::processLine() { DRW_DBG("dxfRW::processLine\n"); int code; diff --git a/src/libs/vdxf/libdxfrw/libdxfrw.h b/src/libs/vdxf/libdxfrw/libdxfrw.h index 234f14b4a..fa20baced 100644 --- a/src/libs/vdxf/libdxfrw/libdxfrw.h +++ b/src/libs/vdxf/libdxfrw/libdxfrw.h @@ -91,7 +91,6 @@ private: bool processAppId(); bool processPoint(); - bool processASTMNotch(); bool processLine(); bool processRay(); bool processXline();