Kaydet (Commit) 08ec0144 authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz#7671 Undefined-shift

Change-Id: I84c6e6a3bb97d9949e9833adf14edf6bb89fe073
Reviewed-on: https://gerrit.libreoffice.org/53018Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst a860c94f
......@@ -1986,7 +1986,7 @@ void DffPropertyReader::ApplyCustomShapeGeometryAttributes( SvStream& rIn, SfxIt
nCenterX = nCoordWidth / 2;
if ( nCenterY == 2 )
nCenterY = nCoordHeight / 2;
if ( ( nPositionY >= 0x256 ) || ( nPositionY <= 0x107 ) ) // position y
if ((nPositionY >= 0x256 || nPositionY <= 0x107) && i < sizeof(sal_uInt32) * 8) // position y
nAdjustmentsWhichNeedsToBeConverted |= ( 1U << i );
EnhancedCustomShapeParameterPair aPolar;
EnhancedCustomShape2d::SetEnhancedCustomShapeHandleParameter( aPolar.First, nCenterX, bool( nFlags & SvxMSDffHandleFlags::CENTER_X_IS_SPECIAL ), true );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment