Bug #455 - Text alignment in reports is broken when text contains utf8 characters

- Applied patch from Johannes.
- Also included extra calls to getCharLength in other parts of the code.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
Johannes Schlatow
2010-08-01 09:30:42 -04:00
committed by Paul Beckingham
parent 3939503377
commit 6e1aa42d1a
2 changed files with 28 additions and 8 deletions

View File

@@ -100,6 +100,7 @@ private:
void calculateColumnWidths ();
just getJustification (const int, const int);
just getHeaderJustification (const int);
int getCharLength (const std::string&);
const std::string formatHeader (const int, const int, const int);
const std::string formatHeaderDashedUnderline (const int, const int, const int);
void formatCell (const int, const int, const int, const int, const int, std::vector <std::string>&, std::string&);