Code

Switched pen and pencil toobars to stock GTK+ toolbars
[inkscape.git] / src / svg / stringstream.h
index b08a89e03af968302535628cb35bffdbe473185d..5622884586c4ac2267c5b17e3fcd4d643b05445f 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <glib/gtypes.h>
 #include <sstream>
+#include <string>
 
 namespace Inkscape {
 
@@ -45,6 +46,10 @@ public:
     std::string str() const {
         return ostr.str();
     }
+    
+    void str (std::string &s) {
+        return ostr.str(s);
+    }
 
     std::streamsize precision() const {
         return ostr.precision();