]> git.lyx.org Git - features.git/blobdiff - src/support/tostr.C
change "support/std_sstream.h" to <sstream>
[features.git] / src / support / tostr.C
index 5eda714f90659bf41b73ad0b723bdad729b94561..81058d5d87959de332856034a168b64c80cfabb5 100644 (file)
@@ -10,9 +10,9 @@
 
 #include <config.h>
 
-#include "support/std_sstream.h"
-#include "support/std_string.h"
+#include <sstream>
 
+using std::string;
 using std::ostringstream;
 
 
@@ -26,7 +26,7 @@ string const tostr(unsigned int i)
 {
        ostringstream os;
        os << i;
-       return STRCONV(os.str());
+       return os.str();
 }
 
 
@@ -34,7 +34,7 @@ string const tostr(long int i)
 {
        ostringstream os;
        os << i;
-       return STRCONV(os.str());
+       return os.str();
 }
 
 
@@ -42,7 +42,7 @@ string const tostr(double d)
 {
        ostringstream os;
        os << d;
-       return STRCONV(os.str());
+       return os.str();
 }
 
 
@@ -50,7 +50,7 @@ string const tostr(int i)
 {
        ostringstream os;
        os << i;
-       return STRCONV(os.str());
+       return os.str();
 }
 
 
@@ -59,3 +59,10 @@ string const tostr(string const & s)
        return s;
 }
 
+
+string const tostr(long unsigned int i)
+{
+        ostringstream os;
+        os << i;
+        return os.str();
+}