]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetoptarg.C
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / insets / insetoptarg.C
index 2bb2f937a45cc8b71fa87717e4de0e963a06df13..d5ed89d3c9a3c4e8cbe75258857e58af8fac750a 100644 (file)
@@ -19,8 +19,8 @@
 
 #include <sstream>
 
-using lyx::docstring;
-using lyx::odocstream;
+
+namespace lyx {
 
 using std::string;
 using std::auto_ptr;
@@ -90,7 +90,7 @@ int InsetOptArg::plaintext(Buffer const &, odocstream &,
 int InsetOptArg::latexOptional(Buffer const & buf, odocstream & os,
                               OutputParams const & runparams) const
 {
-       lyx::odocstringstream ss;
+       odocstringstream ss;
        int ret = InsetText::latex(buf, ss, runparams);
        docstring str = ss.str();
        if (str.find(']') != docstring::npos)
@@ -98,3 +98,6 @@ int InsetOptArg::latexOptional(Buffer const & buf, odocstream & os,
        os << '[' << str << ']';
        return ret;
 }
+
+
+} // namespace lyx