src/ldObject.cpp

changeset 1078
c72e3115a297
parent 1077
952d6b3e7d11
child 1079
67c6e5d32e68
--- a/src/ldObject.cpp	Sun Jan 29 15:39:35 2017 +0200
+++ b/src/ldObject.cpp	Sun Jan 29 15:49:36 2017 +0200
@@ -793,9 +793,9 @@
 	m_fileReferenced = value;
 }
 
-LDComment::LDComment (QString text, LDDocument* document) :
-	LDObject (document),
-	m_text (text) {}
+LDComment::LDComment (QString text, Model* model) :
+    LDObject {model},
+    m_text {text} {}
 
 QString LDComment::text() const
 {
@@ -807,9 +807,9 @@
 	changeProperty (this, &m_text, value);
 }
 
-LDBfc::LDBfc (const BfcStatement type, LDDocument* document) :
-	LDObject (document),
-	m_statement (type) {}
+LDBfc::LDBfc (const BfcStatement type, Model* model) :
+    LDObject {model},
+    m_statement {type} {}
 
 BfcStatement LDBfc::statement() const
 {

mercurial