From 5b3bcdf1afcfb198e022dade3f854d32a2531d26 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 7 Feb 2022 14:55:31 +0200 Subject: [PATCH] Remove unused DRW_Class::parseCode() method. --- src/libs/vdxf/libdxfrw/drw_classes.cpp | 28 -------------------------- src/libs/vdxf/libdxfrw/drw_classes.h | 1 - 2 files changed, 29 deletions(-) diff --git a/src/libs/vdxf/libdxfrw/drw_classes.cpp b/src/libs/vdxf/libdxfrw/drw_classes.cpp index dcad140d4..6d994b184 100644 --- a/src/libs/vdxf/libdxfrw/drw_classes.cpp +++ b/src/libs/vdxf/libdxfrw/drw_classes.cpp @@ -15,34 +15,6 @@ #include "intern/dxfwriter.h" #include "intern/drw_dbg.h" -void DRW_Class::parseCode(int code, dxfReader *reader){ - switch (code) { - case 1: - recName = reader->getUtf8String(); - break; - case 2: - className = reader->getUtf8String(); - break; - case 3: - appName = reader->getUtf8String(); - break; - case 90: - proxyFlag = reader->getInt32(); - break; - case 91: - instanceCount = reader->getInt32(); - break; - case 280: - wasaProxyFlag = reader->getInt32(); - break; - case 281: - entityFlag = reader->getInt32(); - break; - default: - break; - } -} - void DRW_Class::write(dxfWriter *writer, DRW::Version ver){ if (ver > DRW::AC1009) { writer->writeString(0, "CLASS"); diff --git a/src/libs/vdxf/libdxfrw/drw_classes.h b/src/libs/vdxf/libdxfrw/drw_classes.h index bd5d0ad13..d89bd8356 100644 --- a/src/libs/vdxf/libdxfrw/drw_classes.h +++ b/src/libs/vdxf/libdxfrw/drw_classes.h @@ -39,7 +39,6 @@ public: ~DRW_Class() = default; - void parseCode(int code, dxfReader *reader); void write(dxfWriter *writer, DRW::Version ver); public: