The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit cc00530743e5800b46d9633357ddc61f03f9bb4e
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Wed May 8 15:12:42 2013 +0200

    Remove cruft

diff --git a/src/support/Messages.cpp b/src/support/Messages.cpp
index 4e58a87..ea6ec0d 100644
--- a/src/support/Messages.cpp
+++ b/src/support/Messages.cpp
@@ -243,51 +243,3 @@ bool Messages::available(string const & /* c */)
 } // namespace lyx
 
 #endif
-
-#if 0
-
--#include <locale>
-
-namespace lyx {
-
-// This version of the Pimpl utilizes the message capability of
-// libstdc++ that is distributed with GNU G++.
-class Messages::Pimpl {
-public:
-       typedef messages<char>::catalog catalog;
-
-       Pimpl(string const & l)
-               : lang_(l),
-                 loc_gl(lang_.c_str()),
-                 mssg_gl(use_facet<messages<char> >(loc_gl))
-       {
-               //LYXERR("Messages: language(" << l << ") in dir(" << dir << 
")");
-
-               string const locale_dir = 
package().locale_dir().toFilesystemEncoding();
-               cat_gl = mssg_gl.open(PACKAGE, loc_gl, locale_dir.c_str());
-
-       }
-
-       ~Pimpl()
-       {
-               mssg_gl.close(cat_gl);
-       }
-
-       docstring const get(string const & msg) const
-       {
-               return mssg_gl.get(cat_gl, 0, 0, msg);
-       }
-private:
-       ///
-       string lang_;
-       ///
-       locale loc_gl;
-       ///
-       messages<char> const & mssg_gl;
-       ///
-       catalog cat_gl;
-};
-
-} // namespace lyx
-
-#endif

-----------------------------------------------------------------------

Summary of changes:
 src/support/Messages.cpp |   48 ----------------------------------------------
 1 files changed, 0 insertions(+), 48 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to