summaryrefslogtreecommitdiff
path: root/misc/koffice/patches/patch-ab
blob: 78b33ef1f331d81e7dcdb3bd34506b45164940ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
$NetBSD: patch-ab,v 1.4 2003/10/09 18:38:34 reed Exp $

--- filters/kspread/qpro/libqpro/src/record.cc.orig	2003-09-29 16:45:05.000000000 +0000
+++ filters/kspread/qpro/libqpro/src/record.cc	2003-09-29 16:46:18.000000000 +0000
@@ -2,7 +2,7 @@
 
 #include <string.h>
 
-#include <iostream.h>
+#include <iostream>
 
 #include <qpro/record.h>
 #include <qpro/formula.h>
@@ -10,7 +10,7 @@
 // -----------------------------------------------------------------------
 
 #include <iomanip.h>
-#include <strstream.h>
+#include <strstream>
 
 void
 Charout(ostream& pOut, unsigned char pChar)
@@ -32,7 +32,7 @@
 int
 Hexout(char* pChar, int pLen)
 {
-   ostrstream*   lOStr = new ostrstream;
+   std::ostrstream*   lOStr = new std::ostrstream;
 
    while( pLen )
    {
@@ -57,7 +57,7 @@
       cerr << lOStr->rdbuf() << endl;
 
       delete lOStr;
-      lOStr = new ostrstream;
+      lOStr = new std::ostrstream;
    }
 
    delete lOStr;
@@ -200,7 +200,7 @@
 {
 //??? cope with relative/absolute references
 
-   strstream lOut(pText, 20, ios::out); // ??? ard coded len
+   std::strstream lOut(pText, 20, ios::out); // ??? ard coded len
    int       lPageRelative = pRow & 0x8000;
    int       lColRelative  = pRow & 0x4000;
    int       lRowRelative  = pRow & 0x2000;