diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-15 10:12:19 +0200 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-02-06 09:10:35 -0500 |
commit | 7683b2691cde74e28847c2c22b38a2f862c117ab (patch) | |
tree | dcefd111963f47ecace5c3a3b1d868648f2743a6 /vcl | |
parent | 06b456d83a2c7fa5fcbc973cc64c882c1c4a8c1c (diff) |
Fix indentation
Change-Id: I687f7020284d86a880a0a5db31658f01edf8e850
(cherry picked from commit 0b255720a60f15ffe8006b37e367378b229e245f)
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/outdev/map.cxx | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/vcl/source/outdev/map.cxx b/vcl/source/outdev/map.cxx index 8255c2e77ff2..4f2863ece132 100644 --- a/vcl/source/outdev/map.cxx +++ b/vcl/source/outdev/map.cxx @@ -366,13 +366,13 @@ static long ImplLogicToPixel( long n, long nDPI, long nMapNum, long nMapDenom, #if (SAL_TYPES_SIZEOFLONG < 8) if( (+n < nThres) && (-n < nThres) ) { - n *= nMapNum * nDPI; - if( nMapDenom != 1 ) - { - n = (2 * n) / nMapDenom; - if( n < 0 ) --n; else ++n; - n /= 2; - } + n *= nMapNum * nDPI; + if( nMapDenom != 1 ) + { + n = (2 * n) / nMapDenom; + if( n < 0 ) --n; else ++n; + n /= 2; + } } else #else @@ -381,17 +381,17 @@ static long ImplLogicToPixel( long n, long nDPI, long nMapNum, long nMapDenom, assert(nMapNum == 0 || std::abs(n) < std::numeric_limits<long>::max() / nMapNum / nDPI); //detect overflows #endif { - sal_Int64 n64 = n; - n64 *= nMapNum; - n64 *= nDPI; - if( nMapDenom == 1 ) - n = (long)n64; - else - { - n = (long)(2 * n64 / nMapDenom); - if( n < 0 ) --n; else ++n; - n /= 2; - } + sal_Int64 n64 = n; + n64 *= nMapNum; + n64 *= nDPI; + if( nMapDenom == 1 ) + n = (long)n64; + else + { + n = (long)(2 * n64 / nMapDenom); + if( n < 0 ) --n; else ++n; + n /= 2; + } } return n; } |