#include <config.h>
+#include "insetoptarg.h"
#include "debug.h"
-
-#include "insetoptarg.h"
-#include "support/LOstream.h"
-#include "frontends/Alert.h"
-#include "support/lstrings.h" // frontStrip, strip
-#include "lyxtext.h"
-#include "buffer.h"
#include "gettext.h"
-#include "BufferView.h"
-#include "support/lstrings.h"
+#include "LColor.h"
+#include "paragraph.h"
-using std::ostream;
-using std::vector;
-using std::pair;
+
+using std::string;
using std::auto_ptr;
+using std::ostream;
InsetOptArg::InsetOptArg(BufferParams const & ins)