summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-21 14:34:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-21 14:34:24 +0200
commit1f65b5539872890197718364455c5c0aca083f12 (patch)
tree0d1b82962a1f7a9e401087517f89a6ab4317b0d1 /filter
parent67c98f6f643e8653490174fcbb7aa618b19b27e2 (diff)
Avoid undefined left shift of negative values
Change-Id: I428b2401f59930e115f4b0d205f6c1db779b16f9
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/escherex.cxx2
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 )