]> git.lyx.org Git - features.git/blobdiff - src/frontends/controllers/ControlAboutlyx.C
Replace LString.h with support/std_string.h,
[features.git] / src / frontends / controllers / ControlAboutlyx.C
index 8506fcbcddd211b00228244b1c7b89f584cfb1c5..179f12c647657e4e1e0589e3ca03c556cc9738a4 100644 (file)
@@ -6,7 +6,7 @@
  * \author Edwin Leuven
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
@@ -15,9 +15,8 @@
 #include "ControlAboutlyx.h"
 #include "gettext.h"
 #include "version.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
 
-#include "support/LOstream.h"
 #include "support/filetools.h" // FileSearch
 #include "support/path_defines.h"
 
@@ -27,9 +26,6 @@ using namespace lyx::support;
 
 using std::ostream;
 
-// needed for the browser
-extern string user_lyxdir;
-
 
 ControlAboutlyx::ControlAboutlyx(Dialog & parent)
        : Dialog::Controller(parent)
@@ -88,7 +84,7 @@ string const ControlAboutlyx::getVersion() const
           << MakeDisplayPath(system_lyxdir())
           << "\n"
           << _("User directory: ")
-          << MakeDisplayPath(user_lyxdir);
+          << MakeDisplayPath(user_lyxdir());
 
        return STRCONV(ss.str());
 }