From 267299811df952d08324a39008f52c19641de9e0 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Tue, 30 Jan 2018 09:33:01 +0100 Subject: Move classes derived from SPObject to own directory. A lot of header clean-up. --- src/sp-desc.cpp | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/sp-desc.cpp (limited to 'src/sp-desc.cpp') diff --git a/src/sp-desc.cpp b/src/sp-desc.cpp deleted file mode 100644 index 3c75d087a..000000000 --- a/src/sp-desc.cpp +++ /dev/null @@ -1,32 +0,0 @@ -/* - * SVG implementation - * - * Authors: - * Jeff Schiller - * - * Copyright (C) 2008 Jeff Schiller - * - * Released under GNU GPL, read the file 'COPYING' for more information - */ - -#include "sp-desc.h" -#include "xml/repr.h" - -SPDesc::SPDesc() : SPObject() { -} - -SPDesc::~SPDesc() { -} - -/** - * Writes it's settings to an incoming repr object, if any. - */ -Inkscape::XML::Node* SPDesc::write(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, guint flags) { - if (!repr) { - repr = this->getRepr()->duplicate(doc); - } - - SPObject::write(doc, repr, flags); - - return repr; -} -- cgit v1.2.3