Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 228839
Collapse All | Expand All

(-)koffice-1.6.3.orig/filters/kpresenter/powerpoint/libppt/pole.cpp (+2 lines)
Lines 26-31 Link Here
26
   THE POSSIBILITY OF SUCH DAMAGE.
26
   THE POSSIBILITY OF SUCH DAMAGE.
27
*/
27
*/
28
28
29
#include <string.h>
30
29
#include <fstream>
31
#include <fstream>
30
#include <iostream>
32
#include <iostream>
31
#include <list>
33
#include <list>
(-)koffice-1.6.3.orig/filters/kword/wordperfect/import/TableStyle.cxx (+1 lines)
Lines 27-32 Link Here
27
/* "This product is not manufactured, approved, or supported by 
27
/* "This product is not manufactured, approved, or supported by 
28
 * Corel Corporation or Corel Corporation Limited."
28
 * Corel Corporation or Corel Corporation Limited."
29
 */
29
 */
30
#include <string.h>
30
#include <math.h>
31
#include <math.h>
31
#include "FilterInternal.hxx"
32
#include "FilterInternal.hxx"
32
#include "TableStyle.hxx"
33
#include "TableStyle.hxx"
(-)koffice-1.6.3.orig/filters/kword/wordperfect/import/TextRunStyle.cxx (+3 lines)
Lines 28-33 Link Here
28
/* "This product is not manufactured, approved, or supported by
28
/* "This product is not manufactured, approved, or supported by
29
 * Corel Corporation or Corel Corporation Limited."
29
 * Corel Corporation or Corel Corporation Limited."
30
 */
30
 */
31
32
#include <string.h>
33
31
#include "FilterInternal.hxx"
34
#include "FilterInternal.hxx"
32
#include "TextRunStyle.hxx"
35
#include "TextRunStyle.hxx"
33
#include "WriterProperties.hxx"
36
#include "WriterProperties.hxx"
(-)koffice-1.6.3.orig/kexi/kexidb/drivers/pqxx/pqxxcursor.cpp (+2 lines)
Lines 27-32 Link Here
27
#include <klocale.h>
27
#include <klocale.h>
28
#include <kdebug.h>
28
#include <kdebug.h>
29
29
30
#include <stdlib.h>
31
30
using namespace KexiDB;
32
using namespace KexiDB;
31
33
32
34
(-)koffice-1.6.3.orig/krita/core/kis_perspective_math.cpp (-12 / +12 lines)
Lines 24-30 Link Here
24
24
25
#if 1
25
#if 1
26
26
27
#include <iostream.h>
27
#include <iostream>
28
#include <stdlib.h>
28
#include <stdlib.h>
29
#include <math.h>
29
#include <math.h>
30
//#define NDEBUG // uncomment to remove checking of assert()
30
//#define NDEBUG // uncomment to remove checking of assert()
Lines 57-65 Link Here
57
        void  rprint()const;  //print entries on a single line
57
        void  rprint()const;  //print entries on a single line
58
        void resize(int n);
58
        void resize(int n);
59
        int operator==(const vector<ElType>& v)const;
59
        int operator==(const vector<ElType>& v)const;
60
        friend   vector<ElType> operator*(ElType c,vector<ElType>& v );
60
        friend vector<ElType> operator* (ElType c,vector<ElType>& v );
61
        friend   vector<ElType> operator*(vector<ElType>& v,ElType c );
61
        friend vector<ElType> operator*(vector<ElType>& v,ElType c );
62
        friend ostream& operator<<(ostream& s,vector<ElType>& v);
62
        friend std::ostream& operator<<(std::ostream& s,vector<ElType>& v);
63
};
63
};
64
template <class ElType>
64
template <class ElType>
65
        void vector<ElType>::zero()
65
        void vector<ElType>::zero()
Lines 129-138 Link Here
129
        void  vector<ElType>::rprint()const  //print entries on a single line
129
        void  vector<ElType>::rprint()const  //print entries on a single line
130
{
130
{
131
    int i;
131
    int i;
132
    cout << "VECTOR: ";
132
    std::cout << "VECTOR: ";
133
    cout << "(";
133
    std::cout << "(";
134
    for(i=0;i<len-1;i++) cout << data[i] << ",";
134
    for(i=0;i<len-1;i++) std::cout << data[i] << ",";
135
    cout << data[len-1] << ")" << endl;
135
    std::cout << data[len-1] << ")" << std::endl;
136
    return;
136
    return;
137
}
137
}
138
template <class ElType>
138
template <class ElType>
Lines 164-170 Link Here
164
    return ans;
164
    return ans;
165
}
165
}
166
template <class ElType>
166
template <class ElType>
167
        ostream& operator<<(ostream& s,vector<ElType>& v)
167
        std::ostream& operator<<(std::ostream& s,vector<ElType>& v)
168
{
168
{
169
    s << "(";
169
    s << "(";
170
    for(int i=0;i<v.len-1;i++) s << v.data[i] << ", ";
170
    for(int i=0;i<v.len-1;i++) s << v.data[i] << ", ";
Lines 192-198 Link Here
192
        matrix<ElType> operator-(const matrix<ElType>& a);
192
        matrix<ElType> operator-(const matrix<ElType>& a);
193
        matrix<ElType> transpose();
193
        matrix<ElType> transpose();
194
    //matrix<ElType> inverse();
194
    //matrix<ElType> inverse();
195
        friend ostream& operator<<(ostream& s,matrix<ElType>& m);
195
        friend std::ostream& operator<<(std::ostream& s,matrix<ElType>& m);
196
        friend void ludcmp(matrix<ElType>& a,vector<int>& indx,double &d);
196
        friend void ludcmp(matrix<ElType>& a,vector<int>& indx,double &d);
197
        friend void lubksb(matrix<ElType>&a,vector<int>& indx,vector<ElType>&b);
197
        friend void lubksb(matrix<ElType>&a,vector<int>& indx,vector<ElType>&b);
198
};
198
};
Lines 357-363 Link Here
357
    return ans;
357
    return ans;
358
}
358
}
359
template <class ElType>
359
template <class ElType>
360
        ostream& operator<<(ostream& s,matrix<ElType>& m)
360
        std::ostream& operator<<(std::ostream& s,matrix<ElType>& m)
361
{
361
{
362
    for(int i=0; i<m.rows;i++) s << m[i];
362
    for(int i=0; i<m.rows;i++) s << m[i];
363
    return s;
363
    return s;
Lines 381-387 Link Here
381
//         kdDebug() << "new search" << endl;
381
//         kdDebug() << "new search" << endl;
382
        for (j=0;j<n;j++) { if ((temp=fabs(a[i][j])) > big) big=temp;
382
        for (j=0;j<n;j++) { if ((temp=fabs(a[i][j])) > big) big=temp;
383
/*            kdDebug() << temp << " " << fabs(a[i][j]) << " "<< big <<endl; */}
383
/*            kdDebug() << temp << " " << fabs(a[i][j]) << " "<< big <<endl; */}
384
            if (big == 0.0) { cerr << "Singular matrix in routine LUDCMP" << endl; big = TINY;}
384
            if (big == 0.0) { std::cerr << "Singular matrix in routine LUDCMP" << std::endl; big = TINY;}
385
            vv[i]=1.0/big;
385
            vv[i]=1.0/big;
386
    }
386
    }
387
    for (j=0;j<n;j++)
387
    for (j=0;j<n;j++)
(-)koffice-1.6.3.orig/kspread/plugins/scripting/kspreadcore/krs_cell.cpp (-7 / +2 lines)
Lines 174-185 Link Here
174
	return m_cell->text();
174
	return m_cell->text();
175
}
175
}
176
176
177
bool Cell::setText(const QString& text, bool asString) {
177
bool Cell::setText(const QString& text) {
178
179
	//FIXME: there is some problem with asString parameter, when it's set
180
	//to true KSpread says: ASSERT: "f" in Dependencies.cpp (621)
181
	//kspread: Cell at row 6, col 1 marked as formula, but formula is NULL
182
183
	KSpread::ProtectedCheck prot;
178
	KSpread::ProtectedCheck prot;
184
	prot.setSheet (m_sheet);
179
	prot.setSheet (m_sheet);
185
	prot.add (QPoint (m_col, m_row));
180
	prot.add (QPoint (m_col, m_row));
Lines 189-195 Link Here
189
	KSpread::DataManipulator *dm = new KSpread::DataManipulator ();
184
	KSpread::DataManipulator *dm = new KSpread::DataManipulator ();
190
	dm->setSheet (m_sheet);
185
	dm->setSheet (m_sheet);
191
	dm->setValue (text);
186
	dm->setValue (text);
192
	dm->setParsing (!asString);
187
	dm->setParsing (true);
193
	dm->add (QPoint (m_col, m_row));
188
	dm->add (QPoint (m_col, m_row));
194
	dm->execute ();
189
	dm->execute ();
195
190
(-)koffice-1.6.3.orig/kspread/plugins/scripting/kspreadcore/krs_cell.h (-4 / +3 lines)
Lines 131-141 Link Here
131
		*/
131
		*/
132
		const QString text() const;
132
		const QString text() const;
133
		/**
133
		/**
134
		* Set the text of the cell. If asString is true, the text
134
		* Set the text of the cell. the text
135
		* will be handled as string else we try to parse the
135
		* will be handled as string
136
		* string to the expected value.
137
		*/
136
		*/
138
		bool setText(const QString& text, bool asString = false);
137
		bool setText(const QString& text);
139
138
140
		/**
139
		/**
141
		* Return the textcolor as RGB-value in the format "#RRGGBB".
140
		* Return the textcolor as RGB-value in the format "#RRGGBB".

Return to bug 228839