summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-12-12 12:35:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-12-12 12:35:24 +0000
commit9785fd625f4799019ee0fb52868321b177526497 (patch)
tree3931b553f248b791398ecdd21f5439f4e75db61c /svl
parentbab07202fcf5ea23d771ddb73180316524c63574 (diff)
silence coverity#1242911 Untrusted loop bound
Change-Id: Ifab75371cbedd26d510f162efe2c9247e37893ed
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/poolio.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx
index 4a026cf1e1a3..66f5ed72fa60 100644
--- a/svl/source/items/poolio.cxx
+++ b/svl/source/items/poolio.cxx
@@ -377,6 +377,7 @@ void SfxItemPool_Impl::readTheItems (
"not an item content" );
// Fill up missing ones
+ // coverity[tainted_data] - ignore this, though we should finally kill off this format
for ( pItem = 0, n = nLastSurrogate+1; n < nSurrogate; ++n )
pNewArr->push_back( (SfxPoolItem*) pItem );
nLastSurrogate = nSurrogate;