aboutsummaryrefslogtreecommitdiff
path: root/dw
diff options
context:
space:
mode:
Diffstat (limited to 'dw')
-rw-r--r--dw/ooffloatsmgr.cc10
-rw-r--r--dw/ooffloatsmgr.hh8
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