Kaydet (Commit) 2bce2365 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Work around odd -Werror=strict-overflow

"sc/source/filter/oox/pivotcachebuffer.cxx:401:45: error: assuming signed
overflow does not occur when assuming that (X + c) < X is always false" at least
with "g++ (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)" and --disable-debug

Change-Id: I1d267b2947f04b84f73da2b1458d316397e2374e
üst c3ce35f0
...@@ -408,7 +408,7 @@ void PivotCacheItemList::importArray( SequenceInputStream& rStrm ) ...@@ -408,7 +408,7 @@ void PivotCacheItemList::importArray( SequenceInputStream& rStrm )
case BIFF12_PCITEM_ARRAY_DATE: createItem().readDate( rStrm ); break; case BIFF12_PCITEM_ARRAY_DATE: createItem().readDate( rStrm ); break;
default: default:
OSL_FAIL( "PivotCacheItemList::importArray - unknown data type" ); OSL_FAIL( "PivotCacheItemList::importArray - unknown data type" );
nIdx = nCount; return;
} }
} }
} }
......
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