]> git.lyx.org Git - lyx.git/blobdiff - src/client/Messages.cpp
Fix the synchronous export functionality
[lyx.git] / src / client / Messages.cpp
index 6a51e171fcdbafb1ff6b4d9629a6ffa9b977f949..9f54bc73ed08d2c6b5d33cac65d61f618c028cd9 100644 (file)
@@ -2,7 +2,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -34,15 +34,15 @@ namespace lyx {
 // libstdc++ that is distributed with GNU G++.
 class Messages::Pimpl {
 public:
-       typedef std::messages<char>::catalog catalog;
+       typedef messages<char>::catalog catalog;
 
        Pimpl(string const & l)
                : lang_(l),
                  loc_gl(lang_.c_str()),
-                 mssg_gl(std::use_facet<std::messages<char> >(loc_gl))
+                 mssg_gl(use_facet<messages<char> >(loc_gl))
        {
                //lyxerr << "Messages: language(" << l
-               //       << ") in dir(" << dir << ")" << std::endl;
+               //       << ") in dir(" << dir << ")" << endl;
 
                string const locale_dir = package().locale_dir().toFilesystemEncoding();
                cat_gl = mssg_gl.open(PACKAGE, loc_gl, locale_dir.c_str());
@@ -62,9 +62,9 @@ private:
        ///
        string lang_;
        ///
-       std::locale loc_gl;
+       locale loc_gl;
        ///
-       std::messages<char> const & mssg_gl;
+       messages<char> const & mssg_gl;
        ///
        catalog cat_gl;
 };
@@ -77,7 +77,7 @@ private:
 #  if HAVE_GETTEXT
 #    include <libintl.h>      // use the header already in the system *EK*
 #  else
-#    include "../intl/libintl.h"
+#    include "intl/libintl.h"
 #  endif
 
 // This is a more traditional variant.
@@ -87,7 +87,7 @@ public:
                : lang_(l)
        {
                //lyxerr << "Messages: language(" << l
-               //       << ") in dir(" << dir << ")" << std::endl;
+               //       << ") in dir(" << dir << ")" << endl;
 
        }
 
@@ -115,7 +115,7 @@ public:
                        LYXERR(Debug::DEBUG, "Messages::get()" << '\n'
                                << "Error code: " << errno << '\n'
                                << "Lang, mess: " << lang_ << " " << m << '\n'
-                               << "Directory : " << package().locale_dir().absFilename() << '\n'
+                               << "Directory : " << package().locale_dir().absFileName() << '\n'
                                << "Rtn value : " << c);
                }