]> git.lyx.org Git - features.git/blobdiff - src/insets/inseterror.C
read the Changelog
[features.git] / src / insets / inseterror.C
index 59bbcc2fb085ef2e477b1ab9ac0936e82bc1173a..7cfdd4b25028f750b9703d83997b30e616d2c021 100644 (file)
@@ -25,17 +25,17 @@ using std::ostream;
 
 /* Error, used for the LaTeX-Error Messages */
 
+#if 0
 InsetError::InsetError()
 {
        form = 0;
 }
+#endif
 
 
 InsetError::InsetError(string const & str)
-       : contents(str)
-{
-       form = 0;
-}
+       : contents(str), form(0)
+{}
 
 
 InsetError::~InsetError()
@@ -155,7 +155,8 @@ void InsetError::CloseErrorCB(FL_OBJECT * ob, long)
 
 
 // A C wrapper
-extern "C" void C_InsetError_CloseErrorCB(FL_OBJECT * ob, long data)
+extern "C"
+void C_InsetError_CloseErrorCB(FL_OBJECT * ob, long data)
 {
         InsetError::CloseErrorCB(ob , data);
 }