aboutsummaryrefslogtreecommitdiff
path: root/dw
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-10-03 19:59:34 +0200
committerSebastian Geerken <devnull@localhost>2015-10-03 19:59:34 +0200
commit3da0ac700b5bb47fec205fcd17f2aabe17b36db6 (patch)
tree3b5bb51510880f287099f843b83119795f0b08be /dw
parent74cec26c6cf3e7fc15cb17ead3210b67948166c9 (diff)
SRDOP: remove obsolete `TBInfo::lineBreakWidth`.
Diffstat (limited to 'dw')
-rw-r--r--dw/ooffloatsmgr.cc12
-rw-r--r--dw/ooffloatsmgr.hh1
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;