diff -r edb78a44240b -r 9ff332964015 exports.cpp --- a/exports.cpp Tue Mar 31 15:36:10 2009 +0000 +++ b/exports.cpp Wed Apr 01 15:06:57 2009 +0000 @@ -108,13 +108,13 @@ { // Make prefix like "2.5.3" for "bo:2,bo:5,bo:3" QString r; - BranchObj *bo=bostart; - int depth=bo->getDepth(); + TreeItem *ti=bostart->getTreeItem(); + int depth=ti->depth(); while (depth>0) { - r=QString("%1").arg(1+bo->getNum(),0,10)+"." + r; - bo=(BranchObj*)(bo->getParObj()); - depth=bo->getDepth(); + r=QString("%1").arg(1+ti->num(),0,10)+"." + r; + ti=ti->parent(); + depth=ti->depth(); } if (r.isEmpty()) return r;