summaryrefslogtreecommitdiffstats
path: root/kchart/kchart_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kchart/kchart_part.cpp')
-rw-r--r--kchart/kchart_part.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/kchart/kchart_part.cpp b/kchart/kchart_part.cpp
index fb6a6414..1956904b 100644
--- a/kchart/kchart_part.cpp
+++ b/kchart/kchart_part.cpp
@@ -1621,8 +1621,6 @@ bool KChartPart::loadData( const TQDomDocument& doc,
m_currentData.setUsedRows( rows );
kdDebug(35001) << "Expanded!" << endl;
TQDomNode n = data.firstChild();
- //TQArray<int> tmpExp(rows*cols);
- //TQArray<bool> tmpMissing(rows*cols);
for (int i=0; i!=rows; i++) {
for (int j=0; j!=cols; j++) {
if (n.isNull()) {
@@ -1717,8 +1715,8 @@ bool KChartPart::loadOldXML( const TQDomDocument& doc )
m_currentData.expand(rows, cols);
kdDebug(35001) << "Expanded!" << endl;
TQDomNode n = data.firstChild();
- TQArray<int> tmpExp(rows*cols);
- TQArray<bool> tmpMissing(rows*cols);
+ TQMemArray<int> tmpExp(rows*cols);
+ TQMemArray<bool> tmpMissing(rows*cols);
for (int i=0; i!=rows; i++) {
for (int j=0; j!=cols; j++) {