]> git.lyx.org Git - lyx.git/blobdiff - src/insets/lyxinset.h
removed a warning from screen and added CFLAGS in lyx.spec.in.
[lyx.git] / src / insets / lyxinset.h
index 8995208977c8d3ce0249988d3022c585d95d85e9..c640f1d8f98d21997fc884530c7470c1dc218983 100644 (file)
@@ -107,11 +107,11 @@ public:
         fragile commands by adding a \protect before.
         */
        virtual int Latex(FILE *file, signed char fragile)=0;
-       virtual int Latex(LString &file, signed char fragile)=0;
+       virtual int Latex(string &file, signed char fragile)=0;
        ///
-       virtual int Linuxdoc(LString &/*file*/) = 0;
+       virtual int Linuxdoc(string &/*file*/) = 0;
        ///
-       virtual int DocBook(LString &/*file*/) = 0;
+       virtual int DocBook(string &/*file*/) = 0;
        /// Updates needed features for this inset.
        virtual void Validate(LaTeXFeatures &features) const;
        ///
@@ -121,8 +121,8 @@ public:
        virtual Inset::Code LyxCode() const = 0;
   
        /// Get the label that appears at screen
-       virtual LString getLabel(int) const {
-               return LString();
+       virtual string getLabel(int) const {
+               return string();
        }
 
        /// used for autocorrection