diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-21 14:34:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-21 14:34:24 +0200 |
commit | 1f65b5539872890197718364455c5c0aca083f12 (patch) | |
tree | 0d1b82962a1f7a9e401087517f89a6ab4317b0d1 /filter | |
parent | Simplify ((A && B) || !A) to (!A || B) (diff) | |
download | core-1f65b5539872890197718364455c5c0aca083f12.tar.gz core-1f65b5539872890197718364455c5c0aca083f12.zip |
Avoid undefined left shift of negative values
Change-Id: I428b2401f59930e115f4b0d205f6c1db779b16f9
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/escherex.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 299e85198d69..8394eb633578 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -2623,7 +2623,7 @@ void ConvertEnhancedCustomShapeEquation( SdrObjCustomShape* pCustoShape, std::vector< EnhancedCustomShapeEquation >::iterator aEnd ( rEquations.end() ); while( aIter != aEnd ) { - sal_Int32 nMask = 0x20000000; + sal_uInt32 nMask = 0x20000000; for( i = 0; i < 3; i++ ) { if ( aIter->nOperation & nMask ) |