summaryrefslogtreecommitdiff
path: root/store/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-01-19 22:45:02 +0100
committerJulien Nabet <serval2412@yahoo.fr>2015-01-19 22:46:16 +0100
commitac8fdc7dd4f8ff8d896402838323c65e12c03e7c (patch)
treeb4a8b2e619c32c32686e4e9747f142336828bc94 /store/source
parent4500afcc1be7774b3c35ab69a20e36165ca5445a (diff)
Suppress 1 cppcheck warning arrayIndexOutOfBounds
See http://nabble.documentfoundation.org/cppcheck-arrayIndexOutOfBounds-report-in-stortree-cxx-store-module-td4136432.html Change-Id: I365befacf7d10bcbf0a159cfdcabd3eb1644d02b
Diffstat (limited to 'store/source')
-rw-r--r--store/source/stortree.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/store/source/stortree.cxx b/store/source/stortree.cxx
index 5e96a6e4819a..a491aff81524 100644
--- a/store/source/stortree.cxx
+++ b/store/source/stortree.cxx
@@ -49,7 +49,10 @@ OStoreBTreeNodeData::OStoreBTreeNodeData (sal_uInt16 nPageSize)
T const t;
for (sal_uInt16 i = 1; i < n; i++)
+ {
+ // cppcheck-suppress arrayIndexOutOfBounds
m_pData[i] = t;
+ }
}
/*