diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-09 09:59:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-09 09:59:50 +0000 |
commit | 7302c76cca954440b14bf53ac8a4748f8754c314 (patch) | |
tree | a7f09ee2aff070b1cdac47098ab6b89d39e21dbe /vcl/source/gdi | |
parent | 5383355b4932e90c1c9a3f92e25d33ffcf64848b (diff) |
fix indent
Change-Id: I00c3273754d24c933a284738efc6d8408c1e13a3
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r-- | vcl/source/gdi/pngread.cxx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx index 7b5f82c0e4b9..bea6e07e02b4 100644 --- a/vcl/source/gdi/pngread.cxx +++ b/vcl/source/gdi/pngread.cxx @@ -618,13 +618,14 @@ bool PNGReaderImpl::ImplReadHeader( const Size& rPreviewSizeHint ) SAL_INFO( "vcl.gdi", "preview size " << aPreviewSize.Width() << " " << aPreviewSize.Height() ); for( int i = 1; i < 5; ++i ) - { - if( (maTargetSize.Width() >> i) < aPreviewSize.Width() ) - break; - if( (maTargetSize.Height() >> i) < aPreviewSize.Height() ) - break; - mnPreviewShift = i; - } + { + if( (maTargetSize.Width() >> i) < aPreviewSize.Width() ) + break; + if( (maTargetSize.Height() >> i) < aPreviewSize.Height() ) + break; + mnPreviewShift = i; + } + mnPreviewMask = (1 << mnPreviewShift) - 1; } } |