+#include "buffer.h"
+#include "gettext.h"
+#include "lyxfunc.h"
+
+using std::ostream;
+
+
+InsetParent::InsetParent(InsetCommandParams const & p, Buffer const & bf, bool)
+ : InsetCommand(p)
+{
+ string const fn = p.getContents();
+ setContents(MakeAbsPath(fn, bf.filePath()));
+}