-/* FormVCLog.C
- * (C) 2001 LyX Team
- * John Levon, moz@compsoc.man.ac.uk
+/**
+ * \file FormVCLog.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
-#include "Lsstream.h"
-#ifdef __GNUG__
-#pragma implementation
-#endif
+#include "FormVCLog.h"
+#include "ControlVCLog.h"
+#include "forms/form_browser.h"
#include "xformsBC.h"
-#include "ControlVCLog.h"
-#include "FormVCLog.h"
-#include "form_browser.h"
-#include "gettext.h"
-FormVCLog::FormVCLog(ControlVCLog & c)
- : FormCB<ControlVCLog, FormBrowser>(c, _("Version Control Log"))
+#include "lyx_forms.h"
+
+#include "support/std_sstream.h"
+
+
+FormVCLog::FormVCLog(Dialog & parent)
+ : FormController<ControlVCLog, FormBrowser>(parent, _("Version Control Log"))
{}
{
fl_clear_browser(dialog_->browser);
- stringstream ss;
-
- fl_add_browser_line(dialog_->browser,
- controller().getVCLogFile(ss).str().c_str());
+ std::ostringstream ss;
+ controller().getVCLogFile(ss);
+
+ fl_add_browser_line(dialog_->browser, ss.str().c_str());
}