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 | |
parent | d24e58a548a01867ac2bc5a29b7d1e51bc191dea (diff) |
SRDOP: remove some obsolete attributes in TBInfo-
-rw-r--r-- | dw/ooffloatsmgr.cc | 10 | ||||
-rw-r--r-- | dw/ooffloatsmgr.hh | 8 |
2 files changed, 0 insertions, 18 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 diff --git a/dw/ooffloatsmgr.hh b/dw/ooffloatsmgr.hh index a101a5d8..bf7f7f7f 100644 --- a/dw/ooffloatsmgr.hh +++ b/dw/ooffloatsmgr.hh @@ -134,14 +134,6 @@ private: TBInfo *parent; int parentExtIndex; - // These two values are set by sizeAllocateStart(), and they are - // accessable also within sizeAllocateEnd() for the same - // textblock, for which allocation and WAS_ALLOCATED is set - // *after* sizeAllocateEnd(). See the two functions - // wasAllocated(Widget*) and getAllocation(Widget*) (further - // down) for usage. - bool wasAllocated; - core::Allocation allocation; int clearPosition; // These two lists store all floats of a generator, in the order |