diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:23:07 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:23:07 +0100 |
commit | faf01b8d54737dfbb318709180966e84c7fd5614 (patch) | |
tree | 39eb9bfafef2bc994040311df27cae20e57e4635 /hwpfilter/source/mzstring.h | |
parent | 6491c1a603fc870fbe255d6f663c5738cbf0b4b6 (diff) |
More loplugin:cstylecast: hwpfilter
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable
loplugin:cstylecast for some more cases" plus
solenv/clang-format/reformat-formatted-files
Change-Id: I463894b6c99fe1ebb56895c4aca8bd05a13b7c25
Diffstat (limited to 'hwpfilter/source/mzstring.h')
-rw-r--r-- | hwpfilter/source/mzstring.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hwpfilter/source/mzstring.h b/hwpfilter/source/mzstring.h index 89bd240691d3..0ed917204d2a 100644 --- a/hwpfilter/source/mzstring.h +++ b/hwpfilter/source/mzstring.h @@ -96,10 +96,10 @@ class MzString MzString &operator << (const char *); MzString &operator << (char); - MzString &operator << (unsigned char c) { return *this<<(char)c; } + MzString &operator << (unsigned char c) { return *this<<static_cast<char>(c); } MzString &operator << (int); MzString &operator << (long); - MzString &operator << (short i) { return *this<<(int)i; } + MzString &operator << (short i) { return *this<<static_cast<int>(i); } MzString &operator << (MzString const &); /* MzString &operator << (MzString *s) { return *this<<*s; } |