diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-04 21:33:27 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-04 21:33:27 +0000 |
| commit | be2f47223c17c399e05436a34ba4140f2fc44fc9 (patch) | |
| tree | 2ce88a12e420f981a66466057e9156653bd651b4 /src/Toolbar.cc | |
| parent | de868d58dd738ec06072bfa90b5d598d5001c76d (diff) | |
make the styles' doJustify methods stop returning the string length as this is no longer needed with the BFont class
Diffstat (limited to 'src/Toolbar.cc')
| -rw-r--r-- | src/Toolbar.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc index 0018e43f..f6ff130a 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc @@ -1172,9 +1172,9 @@ void Toolbarmenu::Placementmenu::itemSelected(int button, unsigned int index) { } -int ToolbarStyle::doJustify(const std::string &text, int &start_pos, - unsigned int max_length, - unsigned int modifier) const { +void ToolbarStyle::doJustify(const std::string &text, int &start_pos, + unsigned int max_length, + unsigned int modifier) const { size_t text_len = text.size(); unsigned int length; @@ -1195,6 +1195,4 @@ int ToolbarStyle::doJustify(const std::string &text, int &start_pos, default: break; } - - return text_len; } |
