diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-16 15:15:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-17 08:37:14 +0100 |
commit | cc9e89816f8193989ea4ee5bfd9b1c39b196b5e7 (patch) | |
tree | 8533ccb5251d057e5607bc85bcf9caadf6183783 /i18npool/inc/calendar_hijri.hxx | |
parent | 2f734c0434ec6858cb5c666a72377b540dcde235 (diff) |
Misplaced static_cast
...introduced with 58d863eec084029716eccab7f941727fc650415e "sc: replace local
macros" changing from
> #define HMM2XL(x) ((x)/26.5)+0.5
[...]
> aFrom = Rectangle( nCol-1, static_cast<long>(HMM2XL( nColOff )),
[...]
to
> inline long lcl_hmm2px(long nPixel)
> {
> return static_cast<long>(nPixel*PIXEL_PER_INCH/1000.0/CM_PER_INCH)+0.5;
> }
[...]
> aFrom = Rectangle( nCol-1, lcl_hmm2px( nColOff ),
[...]
Change-Id: Ia98d659e494255e5dbb4e9d47d20df121ccdcc44
Reviewed-on: https://gerrit.libreoffice.org/47993
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'i18npool/inc/calendar_hijri.hxx')
0 files changed, 0 insertions, 0 deletions