]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiErrorList.cpp
Handle correctly zero table special arguments.
[lyx.git] / src / frontends / qt4 / GuiErrorList.cpp
index 0907c6164b968e0ae6817b798d147f21779f76a0..4f97d27b102ba6c4a19a81f179799fe48f327c3e 100644 (file)
@@ -52,13 +52,13 @@ string const guiErrorType(string const & s)
        return s;
 }
 
-} // namespace anon
+} // namespace
 
 namespace lyx {
 namespace frontend {
 
 GuiErrorList::GuiErrorList(GuiView & lv)
-       : GuiDialog(lv, "errorlist", qt_("Error List")), from_master_(false)
+       : GuiDialog(lv, "errorlist", qt_("Error List")), buf_(0), from_master_(false)
 {
        setupUi(this);
 
@@ -152,7 +152,7 @@ bool GuiErrorList::initialiseParams(string const & data)
        buf_ = from_master_ ?
                bufferview()->buffer().masterBuffer()
                : &bufferview()->buffer();
-       name_ = bformat(_("%1$s Errors (%2$s)"), 
+       name_ = bformat(_("%1$s Errors (%2$s)"),
                                _(guiErrorType(error_type)),
                                    from_utf8(buf_->absFileName()));
        paramsToDialog();