diff options
author | Sebastian Geerken <devnull@localhost> | 2016-05-29 13:30:25 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2016-05-29 13:30:25 +0200 |
commit | ecb465d010bab3b554ef65443a73d682494d5a8a (patch) | |
tree | 172e43c7840005675edd743049b948cdec6bdcfa /dw/textblock.cc | |
parent | 12bf33a4335310de0ddb16e321886e1c6093635e (diff) |
Comments, cleanup.
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r-- | dw/textblock.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index 8a2041fe..8a1183de 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -463,19 +463,6 @@ void Textblock::getExtremesSimpl (core::Extremes *extremes) { DBG_OBJ_ENTER0 ("resize", 0, "getExtremesSimpl"); - // TODO Can extremes depend on the available width? Should not; if - // they do, the following code must be reactivated, but it causes - // an endless recursion. -#if 0 - int newLineBreakWidth = getAvailWidth (true); - if (newLineBreakWidth != lineBreakWidth) { - lineBreakWidth = newLineBreakWidth; - wrapRefParagraphs = 0; - DBG_OBJ_SET_NUM ("lineBreakWidth", lineBreakWidth); - DBG_OBJ_SET_NUM ("wrapRefParagraphs", wrapRefLines); - } -#endif - fillParagraphs (); if (paragraphs->size () == 0) { |