diff options
author | Sebastian Geerken <devnull@localhost> | 2016-06-26 01:44:33 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2016-06-26 01:44:33 +0200 |
commit | 69a3cd0edb23470da3fd1079196936a02591f35f (patch) | |
tree | 0a570069278b6521792b5006b598193246fa5b3a /dw/oofawarewidget.hh | |
parent | 29f65909079b027a1e8f81ed6a8c7b46a97e5ef1 (diff) |
Simplify again the signature of OOFAwareWidget:getGeneratorWidth(), with a slightly more complex (but more correct) implementatin for Textblock.
Diffstat (limited to 'dw/oofawarewidget.hh')
-rw-r--r-- | dw/oofawarewidget.hh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/dw/oofawarewidget.hh b/dw/oofawarewidget.hh index 8d18675e..baeda592 100644 --- a/dw/oofawarewidget.hh +++ b/dw/oofawarewidget.hh @@ -288,13 +288,8 @@ public: /** * Return width including margin/border/padding Called by OOFFloatsMgr to * position floats. - * - * In somce cases (as in dw::Textblock::getGeneratorRest), the value is not - * up to date; for this, the caller may pass its position relative to this - * widget, as well as its width, which are used for adjustments. (See comment - * in dw::Textblock::getGeneratorRest.) */ - virtual int getGeneratorWidth (int callerX, int callerWidth); + virtual int getGeneratorWidth (); virtual int getMaxGeneratorWidth (); |