]> git.lyx.org Git - lyx.git/blobdiff - src/trans_decl.h
Fix loop when opening TOC widget in an empty document, basically by Richard Heck.
[lyx.git] / src / trans_decl.h
index 9d6aa5b467d92f9983944f854d5721cbc324709a..f3704ab3d02f36919490e7050224a676881eb131 100644 (file)
@@ -16,7 +16,6 @@
 #include "tex-accent.h"
 
 #include <list>
-#include <string>
 
 
 namespace lyx {
@@ -25,9 +24,9 @@ namespace lyx {
 ///
 struct Keyexc {
        /// character to make exception
-       char c;
+       char_type c;
        /// exception data
-       std::string data;
+       docstring data;
        /// Combination with another deadkey
        bool combined;
        /// The accent comined with
@@ -41,7 +40,7 @@ typedef std::list<Keyexc> KmodException;
 class KmodInfo {
 public:
        ///
-       std::string data;
+       docstring data;
        ///
        tex_accent accent;
        ///