diff options
author | Sebastian Geerken <devnull@localhost> | 2015-10-03 20:09:12 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2015-10-03 20:09:12 +0200 |
commit | d7784256e11efbccbd01a61bb2bddad5eb2ec2d6 (patch) | |
tree | 10784bc61b5561360f978dc1d35d0e8c2b984766 /dw/ooffloatsmgr.cc | |
parent | d24e58a548a01867ac2bc5a29b7d1e51bc191dea (diff) |
SRDOP: remove some obsolete attributes in TBInfo-
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 |