ports/math/xgfe/files/patch-logScaleOp.cpp
Kris Kennaway d3c24d35b2 Update to xgfe 2.1, switch to QT 3, respect NOPORTDOCS, fix build
with gcc 3.

Submitted by:	Marius Strobl <marius@alchemy.franken.de>
PR:		ports/59024
2004-03-06 22:57:48 +00:00

21 lines
586 B
C++

diff -u logScaleOp.cpp.orig logScaleOp.cpp
--- logScaleOp.cpp.orig Tue Jul 21 04:18:45 1998
+++ logScaleOp.cpp Thu Oct 30 21:42:04 2003
@@ -26,7 +26,7 @@
#include "logScaleOp.h"
#include <string>
#include <qstring.h>
-#include <strstream.h>
+#include <sstream>
#define Inherited logScaleOpData
@@ -65,7 +65,7 @@
x2Axis = gnuInt->getLogScaleX2Axis();
y2Axis = gnuInt->getLogScaleY2Axis();
- ostrstream temp;
+ ostringstream temp;
temp << base << ends; // make sure to add terminator with ends, to avoid garbage
// from unterminated string