diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-29 13:55:47 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-29 13:55:47 +0200 |
commit | 2bce2365e7d411c1673e709eb1abc89da9f651dc (patch) | |
tree | cbe46acf5047f9f3200423175cfdf3d16ddb102b /sc | |
parent | c3ce35f0a12af2887b10987f76675174563487d7 (diff) |
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
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/oox/pivotcachebuffer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/pivotcachebuffer.cxx b/sc/source/filter/oox/pivotcachebuffer.cxx index e7bad2d0a18b..64da525d9812 100644 --- a/sc/source/filter/oox/pivotcachebuffer.cxx +++ b/sc/source/filter/oox/pivotcachebuffer.cxx @@ -408,7 +408,7 @@ void PivotCacheItemList::importArray( SequenceInputStream& rStrm ) case BIFF12_PCITEM_ARRAY_DATE: createItem().readDate( rStrm ); break; default: OSL_FAIL( "PivotCacheItemList::importArray - unknown data type" ); - nIdx = nCount; + return; } } } |