]> git.lyx.org Git - features.git/blobdiff - src/frontends/xforms/FormBase.h
Replace LString.h with support/std_string.h,
[features.git] / src / frontends / xforms / FormBase.h
index bf5b9d4a714e73fe7f177ff2c2fefb680c7775f3..a09c0edefcef2a5710dc8cc684d6f7d985bcf319 100644 (file)
@@ -6,7 +6,7 @@
  *
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 /* A base class for the MCV-ed xforms dialogs.
@@ -20,7 +20,7 @@
 #include "ButtonPolicies.h"
 #include "forms_fwd.h"
 
-#include "LString.h"
+#include "support/std_string.h"
 #include <boost/scoped_ptr.hpp>
 #include <X11/Xlib.h> // for Pixmap
 
@@ -124,8 +124,6 @@ private:
        int minh_;
        /// Can the dialog be resized after it has been created?
        bool allow_resize_;
-       /// dialog title, displayed by the window manager.
-       string title_;
        /// Passed to the window manager to give a pretty little symbol ;-)
        Pixmap icon_pixmap_;
        ///
@@ -185,14 +183,14 @@ FormCB<Controller, Base>::FormCB(string const & t, bool allowResize)
 template <class Controller, class Base>
 Controller & FormCB<Controller, Base>::controller()
 {
-       return static_cast<Controller &>(getController());
+       return static_cast<Controller &>(this->getController());
 }
 
 
 template <class Controller, class Base>
 Controller const & FormCB<Controller, Base>::controller() const
 {
-       return static_cast<Controller const &>(getController());
+       return static_cast<Controller const &>(this->getController());
 }