]> git.lyx.org Git - features.git/blobdiff - src/frontends/gnome/GAbout.C
change "support/std_sstream.h" to <sstream>
[features.git] / src / frontends / gnome / GAbout.C
index 530b0ddab3b103cc97050860d8f7f0f9ed814bab..f390388a53198904bfe261861929bc97dad2892f 100644 (file)
@@ -5,17 +5,13 @@
  *
  * \author Michael Koziarski
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include <config.h>
 
 #include "support/lstrings.h"
-#include "Lsstream.h"
 
 #include "gnome_helpers.h"
 #include "gnomeBC.h"
 #include <gtkmm/button.h>
 #include <gtkmm/textview.h>
 
+#include <sstream>
+
+using std::istringstream;
+
+
 GAbout::GAbout()
        : GnomeCB<ControlAboutlyx>("GAbout")
 {}
@@ -74,16 +75,16 @@ void GAbout::update()
        addDefaultTags(buf);
        while (getline(ss, s)) {
 
-               if (prefixIs(s, "@b")) 
-                       buf->insert_with_tag(buf->end(), 
-                                            Glib::locale_to_utf8(s.substr(2)), 
+               if (prefixIs(s, "@b"))
+                       buf->insert_with_tag(buf->end(),
+                                            Glib::locale_to_utf8(s.substr(2)),
                                             "bold");
                else if (prefixIs(s, "@i"))
-                       buf->insert_with_tag(buf->end(), 
-                                            Glib::locale_to_utf8(s.substr(2)), 
+                       buf->insert_with_tag(buf->end(),
+                                            Glib::locale_to_utf8(s.substr(2)),
                                             "italic");
                else
-                       buf->insert(buf->end(), 
+                       buf->insert(buf->end(),
                                    Glib::locale_to_utf8(s.substr(2)));
                buf->insert(buf->end(),"\n");