diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-05-09 21:14:18 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-05-10 09:40:00 +0000 |
commit | 22188da2410f90c2cc533b529314fae73f3b29fd (patch) | |
tree | 538a8dca94df7da75c6d0a60ab550f01627b8313 /include/oox | |
parent | 9727c0e736dd880fff84848f153ca066da226237 (diff) |
remove STATIC_ARRAY_END and usages
used in loops, rewrite to range based loop
oox/source/drawingml/color.cxx has some mappings in plain arrays
make them arrays of pairs which can be used in range based loops
Change-Id: Ib6693197d890f595c27ca24b9f9b4e0763747f4c
Reviewed-on: https://gerrit.libreoffice.org/24809
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'include/oox')
-rw-r--r-- | include/oox/helper/helper.hxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/oox/helper/helper.hxx b/include/oox/helper/helper.hxx index 30525a86c8b0..7c742f5d9e72 100644 --- a/include/oox/helper/helper.hxx +++ b/include/oox/helper/helper.hxx @@ -33,11 +33,6 @@ namespace oox { // Helper macros ============================================================== -/** Expands to a pointer behind the last element of a STATIC data array (like - STL end()). */ -#define STATIC_ARRAY_END( array ) \ - ((array)+SAL_N_ELEMENTS(array)) - /** Expands to the 'index'-th element of a STATIC data array, or to 'def', if 'index' is out of the array limits. */ #define STATIC_ARRAY_SELECT( array, index, def ) \ |