Removed some unused code

Thu, 09 Feb 2017 01:00:31 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Thu, 09 Feb 2017 01:00:31 +0200
changeset 1101
6ac6a8838f29
parent 1100
9b2797729c82
child 1102
c73f9d2e8b85

Removed some unused code

src/ldDocument.cpp file | annotate | diff | comparison | revisions
src/ldDocument.h file | annotate | diff | comparison | revisions
--- a/src/ldDocument.cpp	Thu Feb 09 00:52:23 2017 +0200
+++ b/src/ldDocument.cpp	Thu Feb 09 01:00:31 2017 +0200
@@ -298,17 +298,6 @@
 
 // =============================================================================
 //
-void LDDocument::addObjects (const LDObjectList& objects)
-{
-	for (LDObject* object : objects)
-	{
-		if (object)
-			addObject (object);
-	}
-}
-
-// =============================================================================
-//
 void LDDocument::insertObject (int pos, LDObject* obj)
 {
 	Model::insertObject(pos, obj);
--- a/src/ldDocument.h	Thu Feb 09 00:52:23 2017 +0200
+++ b/src/ldDocument.h	Thu Feb 09 01:00:31 2017 +0200
@@ -57,14 +57,12 @@
 	~LDDocument();
 
 	void addHistoryStep();
-	void addObjects (const LDObjectList& objs);
 	void addToHistory (AbstractHistoryEntry* entry);
 	void addToSelection (LDObject* obj);
 	void clearHistory();
 	void clearSelection();
 	void close();
 	QString defaultName() const;
-	void forgetObject (LDObject* obj);
 	QString fullPath();
 	QString getDisplayName();
 	const QSet<LDObject*>& getSelection() const;

mercurial