summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-06-07 14:43:34 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-06-07 18:06:03 +0200
commitf0fdee8abf7d46f9afb90e5d7c78037fff5b34b1 (patch)
tree598fcde86b4669f7eca70ff2703d93ec24f76e45 /oox
parenteffb5781dd0414b04dda4358605519e88a8ed3ac (diff)
oox: replace redundant STATIC_ARRAY_SIZE macro with SAL_N_ELEMENTS
Change-Id: I8cf274902bb5fda9fa70ab2af9e399db82d85d1d
Diffstat (limited to 'oox')
-rw-r--r--oox/source/core/xmlfilterbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx
index 746ba2ed913b..8dd5cfe99f65 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -142,7 +142,7 @@ struct NamespaceIds: public rtl::StaticWithInit<
NMSP_xlsExtLst
};
- Sequence< beans::Pair< OUString, sal_Int32 > > aRet(STATIC_ARRAY_SIZE(namespaceIds));
+ Sequence< beans::Pair< OUString, sal_Int32 > > aRet(SAL_N_ELEMENTS(namespaceIds));
for( sal_Int32 i=0; i<aRet.getLength(); ++i )
aRet[i] = make_Pair(
OUString::createFromAscii(namespaceURIs[i]),