]> git.lyx.org Git - lyx.git/blobdiff - src/kbsequence.C
more cleanup:
[lyx.git] / src / kbsequence.C
index 708fb99ee5b8b2b072789933fbe296131fedf603..f37afa95767c685d511bd5c58202dd2d11a8be07 100644 (file)
@@ -21,6 +21,9 @@
 #include "frontends/LyXKeySym.h"
 #include "frontends/LyXKeySymFactory.h"
 
+
+namespace lyx {
+
 using std::make_pair;
 using std::string;
 
@@ -127,9 +130,9 @@ string::size_type kb_sequence::parse(string const & s)
 }
 
 
-string const kb_sequence::print() const
+docstring const kb_sequence::print() const
 {
-       string buf;
+       docstring buf;
 
        //if (deleted_)
        //      return buf;
@@ -148,16 +151,16 @@ string const kb_sequence::print() const
 }
 
 
-string const kb_sequence::printOptions() const
+docstring const kb_sequence::printOptions() const
 {
-       string buf;
+       docstring buf;
 
        buf += print();
 
        if (!curmap)
                return buf;
 
-       buf += lyx::to_utf8(_("   options: "));
+       buf += _("   options: ");
        buf += curmap->print();
        return buf;
 }
@@ -180,3 +183,6 @@ void kb_sequence::clear()
        sequence.clear();
        reset();
 }
+
+
+} // namespace lyx