]> git.lyx.org Git - lyx.git/blobdiff - src/output.C
Document pasteParagraphList as hinted by Jean-Marc
[lyx.git] / src / output.C
index e946cb2b820b1a221ef913ed04c0b3d33ece1873..ab1177b974e7c1aa790884984713bea7f0d042d3 100644 (file)
 
 #include "support/filetools.h"
 
-using lyx::odocfstream;
-using lyx::support::bformat;
-using lyx::support::makeDisplayPath;
 
-using lyx::docstring;
+namespace lyx {
+
+using support::bformat;
+using support::makeDisplayPath;
 
 using std::ofstream;
 using std::string;
@@ -37,7 +37,7 @@ bool doOpenFileWrite(OFStream & ofs, string const & fname)
                docstring const file = makeDisplayPath(fname, 50);
                docstring text = bformat(_("Could not open the specified "
                                                     "document\n%1$s."), file);
-               lyx::frontend::Alert::error(_("Could not open file"), text);
+               frontend::Alert::error(_("Could not open file"), text);
                return false;
        }
        return true;
@@ -56,3 +56,6 @@ bool openFileWrite(odocfstream & ofs, string const & fname)
 {
        return doOpenFileWrite(ofs, fname);
 }
+
+
+} // namespace lyx