1.1 --- a/branchobj.cpp Tue Sep 05 09:47:13 2006 +0000
1.2 +++ b/branchobj.cpp Tue Sep 05 15:05:18 2006 +0000
1.3 @@ -158,11 +158,10 @@
1.4 int BranchObj::getNum(BranchObj *bo)
1.5 {
1.6 // keep current pointer in branch,
1.7 - // otherwise save might fail
1.8 - // FIXME is this _really_ still true?
1.9 -// int cur=branch.at();
1.10 + // otherwise saveToDir will fail
1.11 + int cur=branch.at();
1.12 int ind=branch.findRef (bo);
1.13 -// branch.at(cur);
1.14 + branch.at(cur);
1.15 return ind;
1.16 }
1.17
1.18 @@ -790,6 +789,11 @@
1.19 +getIncludeImageAttr() );
1.20 incIndent();
1.21
1.22 + /* Testing
1.23 + for (int i=1; i<depth;i++) cout << " ";
1.24 + cout <<getHeading().ascii()<<endl;
1.25 + */
1.26 +
1.27 // save heading
1.28 s+=valueElement("heading", getHeading(),
1.29 attribut ("textColor",QColor(heading->getColor()).name()));