aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/textblock.hh')
-rw-r--r--dw/textblock.hh13
1 files changed, 1 insertions, 12 deletions
diff --git a/dw/textblock.hh b/dw/textblock.hh
index 21ec6263..61cf6a56 100644
--- a/dw/textblock.hh
+++ b/dw/textblock.hh
@@ -640,18 +640,7 @@ public:
void addWidget (core::Widget *widget, core::style::Style *style);
bool addAnchor (const char *name, core::style::Style *style);
void addSpace (core::style::Style *style);
-
- /**
- * Add a break option (see setBreakOption() for details). Used
- * instead of addStyle for ideographic characters.
- */
- inline void addBreakOption (core::style::Style *style)
- {
- int wordIndex = words->size () - 1;
- if (wordIndex >= 0)
- setBreakOption (words->getRef(wordIndex), style);
- }
-
+ void addBreakOption (core::style::Style *style);
void addParbreak (int space, core::style::Style *style);
void addLinebreak (core::style::Style *style);