]> git.lyx.org Git - features.git/blobdiff - src/insets/insetquotes.h
Fix some conversion problems spotted by MSVC warnings
[features.git] / src / insets / insetquotes.h
index f7daaf73245e61c79cf0530a119636b7f524c574..116005f3b51e4b799384e473f40b9a94e17922a7 100644 (file)
@@ -15,6 +15,8 @@
 
 #include "inset.h"
 
+#include "support/types.h"
+
 class BufferParams;
 class Language;
 
@@ -66,9 +68,9 @@ public:
        explicit
        InsetQuotes(std::string const & str = "eld");
        /// Create the right quote inset after character c
-       InsetQuotes(char c, BufferParams const & params);
+       InsetQuotes(lyx::char_type c, BufferParams const & params);
        /// Direct access to inner/outer quotation marks
-       InsetQuotes(char c, quote_language l, quote_times t);
+       InsetQuotes(lyx::char_type c, quote_language l, quote_times t);
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
@@ -117,7 +119,7 @@ private:
         */
        InsetQuotes(quote_language l, quote_side s, quote_times t);
        /// Decide whether we need left or right quotation marks
-       void getPosition(char c);
+       void getPosition(lyx::char_type c);
        ///
        void parseString(std::string const &);
        ///