]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlParagraph.h
fix crash due to invalidated iterator
[lyx.git] / src / frontends / controllers / ControlParagraph.h
index 659f047e31e9aea065e7f8ce5d3147014bb38c32..6daf2caf21bff03fac710a5985d52af5435f8a0f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * \author Edwin Leuven
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef CONTROLPARAGRAPH_H
 
 class ParagraphParameters;
 
+namespace lyx {
+namespace frontend {
+
 class ControlParagraph : public Dialog::Controller {
 public:
        ///
        ControlParagraph(Dialog &);
        ///
-       virtual void initialiseParams(string const & data);
+       virtual bool initialiseParams(std::string const & data);
        /// clean-up on hide.
        virtual void clearParams();
-       /// clean-up on hide.
+       ///
        virtual void dispatchParams();
        ///
        virtual bool isBufferDependent() const { return true; }
@@ -51,4 +54,7 @@ private:
        LyXAlignment aligndefault_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // CONTROLPARAGRAPH_H