]> git.lyx.org Git - features.git/blobdiff - src/insets/insettext.C
get rid of InsetError users
[features.git] / src / insets / insettext.C
index f0cc7fb301d577000761d2a61490767338244de3..73612da99d366f8c79cbbf90ce17a19a30b7e1b9 100644 (file)
@@ -1532,7 +1532,7 @@ int InsetText::docbook(Buffer const * buf, ostream & os, bool mixcont) const
                        break;
 
                case LATEX_COMMAND:
-                       buf->sgmlError(&*pit, 0,  _("Error: LatexType Command not allowed here.\n"));
+                       buf->sgmlError(pit, 0,  _("Error: LatexType Command not allowed here.\n"));
                        return -1;
                        break;