diff options
Diffstat (limited to 'dw/textblock.hh')
-rw-r--r-- | dw/textblock.hh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dw/textblock.hh b/dw/textblock.hh index 5f588a23..b3bb6e98 100644 --- a/dw/textblock.hh +++ b/dw/textblock.hh @@ -393,7 +393,7 @@ protected: * dw::Textblock::BadnessAndPenalty::setPenalty for more * details. Set from preferences. */ - int penalties[PENALTY_NUM][2]; + static int penalties[PENALTY_NUM][2]; bool limitTextWidth; /* from preferences */ @@ -569,7 +569,9 @@ protected: public: static int CLASS_ID; - Textblock(bool limitTextWidth, int penaltyHyphen); + static void init (int penaltyHyphen, int penaltyHyphen2); + + Textblock(bool limitTextWidth); ~Textblock(); core::Iterator *iterator (core::Content::Type mask, bool atEnd); |