summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2004-04-23 13:44:25 (UTC)
committer mickeyl <mickeyl>2004-04-23 13:44:25 (UTC)
commit8e32516bbda3fda10314f2afe4ee00eb9a49c013 (patch) (unidiff)
tree598226dff8f623159b7bec675ae95c463bb711a5
parent25f3f2fe15578fd4deb04a951e3e23927977e032 (diff)
downloadopie-8e32516bbda3fda10314f2afe4ee00eb9a49c013.zip
opie-8e32516bbda3fda10314f2afe4ee00eb9a49c013.tar.gz
opie-8e32516bbda3fda10314f2afe4ee00eb9a49c013.tar.bz2
gcc3.4 fixlet
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/checkbook/listedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/checkbook/listedit.cpp b/noncore/apps/checkbook/listedit.cpp
index 5026c9d..2612488 100644
--- a/noncore/apps/checkbook/listedit.cpp
+++ b/noncore/apps/checkbook/listedit.cpp
@@ -171,17 +171,17 @@ int ColList::compareItems(QCollection::Item i1, QCollection::Item i2) {
171 171
172void ListEdit::fixTypes(int iColumn) 172void ListEdit::fixTypes(int iColumn)
173{ 173{
174 // get column def 174 // get column def
175 ColumnDef *pDef=this->at(iColumn); 175 ColumnDef *pDef=this->at(iColumn);
176 176
177 // create map of entries 177 // create map of entries
178 if( !_typeTable->childCount() ) return; 178 if( !_typeTable->childCount() ) return;
179 ColMap **colMap=new (ColMap *)[_typeTable->childCount()]; 179 ColMap **colMap=new ColMap *[_typeTable->childCount()];
180 QListViewItem *cur=_typeTable->firstChild(); 180 QListViewItem *cur=_typeTable->firstChild();
181 ColList lst; 181 ColList lst;
182 for(int i=0; i<_typeTable->childCount(); i++) { 182 for(int i=0; i<_typeTable->childCount(); i++) {
183 colMap[i]=new ColMap(cur->text(iColumn), cur); 183 colMap[i]=new ColMap(cur->text(iColumn), cur);
184 lst.append( &(colMap[i]->getValue()) ); 184 lst.append( &(colMap[i]->getValue()) );
185 cur=cur->nextSibling(); 185 cur=cur->nextSibling();
186 } 186 }
187 187