--- a/src/addObjectDialog.cc Sun Jun 01 03:15:36 2014 +0300
+++ b/src/addObjectDialog.cc Mon Jun 02 12:50:40 2014 +0300
@@ -410,7 +410,7 @@
if (name.length() == 0)
return; // no subfile filename
- LDDocument* file = getDocument (name);
+ LDDocumentPtr file = getDocument (name);
if (not file)
{