diff options
author | Sebastian Geerken <devnull@localhost> | 2015-10-03 19:59:34 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2015-10-03 19:59:34 +0200 |
commit | 3da0ac700b5bb47fec205fcd17f2aabe17b36db6 (patch) | |
tree | 3b5bb51510880f287099f843b83119795f0b08be /dw/ooffloatsmgr.cc | |
parent | 74cec26c6cf3e7fc15cb17ead3210b67948166c9 (diff) |
SRDOP: remove obsolete `TBInfo::lineBreakWidth`.
Diffstat (limited to 'dw/ooffloatsmgr.cc')
-rw-r--r-- | dw/ooffloatsmgr.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/dw/ooffloatsmgr.cc b/dw/ooffloatsmgr.cc index 478ad5e2..c1c44967 100644 --- a/dw/ooffloatsmgr.cc +++ b/dw/ooffloatsmgr.cc @@ -412,18 +412,6 @@ void OOFFloatsMgr::sizeAllocateEnd (OOFAwareWidget *caller) sizeAllocateFloats (LEFT); sizeAllocateFloats (RIGHT); - // Store some information for later use. - // TODO still used with SRDOP? - for (lout::container::typed::Iterator<TypedPointer <OOFAwareWidget> > - it = tbInfosByOOFAwareWidget->iterator (); - it.hasNext (); ) { - TypedPointer <OOFAwareWidget> *key = it.getNext (); - TBInfo *tbInfo = tbInfosByOOFAwareWidget->get (key); - OOFAwareWidget *tb = key->getTypedValue(); - - tbInfo->lineBreakWidth = tb->getGeneratorWidth (); - } - // There are cases where some allocated floats exceed the CB size. // TODO Still needed after SRDOP? bool sizeChanged = doFloatsExceedCB (LEFT) || doFloatsExceedCB (RIGHT); |