diff options
Diffstat (limited to 'dw/ooffloatsmgr.cc')
-rw-r--r-- | dw/ooffloatsmgr.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/dw/ooffloatsmgr.cc b/dw/ooffloatsmgr.cc index bc84d92e..5c832d39 100644 --- a/dw/ooffloatsmgr.cc +++ b/dw/ooffloatsmgr.cc @@ -301,8 +301,6 @@ OOFFloatsMgr::TBInfo::TBInfo (OOFFloatsMgr *oofm, OOFAwareWidget *textblock, leftFloats = new Vector<Float> (1, false); rightFloats = new Vector<Float> (1, false); - wasAllocated = getWidget()->wasAllocated (); - allocation = *(getWidget()->getAllocation ()); clearPosition = 0; } @@ -364,14 +362,6 @@ void OOFFloatsMgr::sizeAllocateStart (OOFAwareWidget *caller, caller, allocation->x, allocation->y, allocation->width, allocation->ascent, allocation->descent); - // Some callers are not registered, especially tables. (Where the - // floats manager is actually empty?) - TBInfo *oofAWInfo = getOOFAwareWidgetWhenRegistered (caller); - if (oofAWInfo) { - oofAWInfo->allocation = *allocation; - oofAWInfo->wasAllocated = true; - } - if (caller == container) { // In the size allocation process, the *first* OOFM method // called is sizeAllocateStart, with the containing block as an |