diff options
-rw-r--r-- | dw/ooffloatsmgr.cc | 12 | ||||
-rw-r--r-- | dw/ooffloatsmgr.hh | 1 |
2 files changed, 0 insertions, 13 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); diff --git a/dw/ooffloatsmgr.hh b/dw/ooffloatsmgr.hh index e074c8e8..a101a5d8 100644 --- a/dw/ooffloatsmgr.hh +++ b/dw/ooffloatsmgr.hh @@ -129,7 +129,6 @@ private: class TBInfo: public WidgetInfo { public: - int lineBreakWidth; int index; // position within "tbInfos" TBInfo *parent; |