summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 995ef36)
raw | patch | inline | side by side (parent: 995ef36)
author | mental <mental@users.sourceforge.net> | |
Mon, 6 Mar 2006 02:10:25 +0000 (02:10 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Mon, 6 Mar 2006 02:10:25 +0000 (02:10 +0000) |
ChangeLog | patch | blob | history | |
src/document-subset.cpp | patch | blob | history | |
src/document-subset.h | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 9e48bfb3327d643b28df2c66ad4d7e4c939124aa..0c97edc3bab6beaf7864050f223c57459b2f1134 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2006-03-05 MenTaLguY <mental@rydia.net>
+
+ * src/document-subset.cpp: remove unneeded document parameter from
+ constructor
+
2006-03-05 MenTaLguY <mental@rydia.net>
* src/document-subset.cpp:
index d156b045b23dab2d2f58525e24f600ddb65f8995..f6b32c0f40ac42647a36a2ad972e0d5a31342285 100644 (file)
--- a/src/document-subset.cpp
+++ b/src/document-subset.cpp
}
};
-DocumentSubset::DocumentSubset(SPDocument *document)
-: _document(document), _relations(new DocumentSubset::Relations())
+DocumentSubset::DocumentSubset()
+: _relations(new DocumentSubset::Relations())
{
}
diff --git a/src/document-subset.h b/src/document-subset.h
index 0e40bab8db623ad45656bd9153d9223750911563..269b4c59b95c74de065966dae20df6c88ff0f660 100644 (file)
--- a/src/document-subset.h
+++ b/src/document-subset.h
sigc::connection connectRemoved(sigc::slot<void, SPObject *> slot) const;
protected:
- explicit DocumentSubset(SPDocument *document);
+ DocumentSubset();
void _addOne(SPObject *obj);
void _removeOne(SPObject *obj) { _remove(obj, false); }
class Relations;
- SPDocument *_document;
Relations *_relations;
};