]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormAboutlyx.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormAboutlyx.C
index 295b61c1d35f1ed9730556badc992d079a8db49d..2d39c6a0b58e75f6dce77901086f239f3bdca16e 100644 (file)
@@ -7,22 +7,27 @@
  * \author Angus Leeming
  * \author Rob Lahaye
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 
-
 #include "FormAboutlyx.h"
 #include "xformsBC.h"
 #include "ControlAboutlyx.h"
 #include "forms/form_aboutlyx.h"
 #include "xforms_helpers.h"
-#include "Lsstream.h"
 #include "version.h"
 
 #include "lyx_forms.h"
 
+#include <sstream>
+
+using std::ostringstream;
+
+namespace lyx {
+namespace frontend {
+
 namespace {
 
 #if FL_VERSION == 0 || (FL_REVISION == 0 && FL_FIXLEVEL < 2)
@@ -78,13 +83,16 @@ void FormAboutlyx::build()
                fl_set_tabfolder_autofit(dialog_->tabfolder, FL_FIT);
 
        // Stack tabs
-       fl_addto_tabfolder(dialog_->tabfolder, _("Version"),
+       fl_addto_tabfolder(dialog_->tabfolder, _("Version").c_str(),
                           version_->form);
-       fl_addto_tabfolder(dialog_->tabfolder, _("Credits"),
+       fl_addto_tabfolder(dialog_->tabfolder, _("Credits").c_str(),
                           credits_->form);
-       fl_addto_tabfolder(dialog_->tabfolder, _("License"),
+       fl_addto_tabfolder(dialog_->tabfolder, _("License").c_str(),
                           license_->form);
 
        // Manage the cancel/close button
        bcview().setCancel(dialog_->button_close);
 }
+
+} // namespace frontend
+} // namespace lyx