diff options
author | Sebastian Geerken <devnull@localhost> | 2012-11-14 14:04:25 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2012-11-14 14:04:25 +0100 |
commit | 53e9245bcbaea2b7b4485369aa2289f1d102f26c (patch) | |
tree | 686a6e3125fca5c7889d2010633d697704bf33c9 /dw/textblock.hh | |
parent | 7a991750e1f7bdfe6bd39f95343cc742d00c6596 (diff) |
Cleaned up preferences.
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); |