]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/XLyXKeySym.h
fix crash with "save as"
[lyx.git] / src / frontends / xforms / XLyXKeySym.h
index 969fde7697baf8a37854d1b3ef3a79bb05e574c4..3cd74ed57a682a79172464c56c9f73879be3b51c 100644 (file)
@@ -1,7 +1,8 @@
 // -*- C++ -*-
 /**
  * \file XLyXKeySym.h
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author Asger and Juergen
  *
@@ -38,7 +39,7 @@ public:
 
        /// Is this a modifier key only?
        virtual bool isModifier() const;
-       
+
        virtual string getSymbolName() const;
 
        /**
@@ -48,10 +49,12 @@ public:
         */
        virtual char getISOEncoded() const;
 
-       virtual bool operator==(LyXKeySym const & k) const;
-
+       ///
+       unsigned int keysym() const {
+               return keysym_;
+       }
 private:
-       unsigned int keysym;
+       unsigned int keysym_;
 };
 
 #endif // XLYXKEYSYM_H