diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-14 10:46:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-14 15:14:27 +0200 |
commit | 546c35519125a769755330c961c7b8fc61e24d89 (patch) | |
tree | 0b73735081bd279b89b93dabc5c35dee6ec08b94 /svl/source | |
parent | 92b7acdf2a1159af8a31da22ce6227950f709040 (diff) |
use more SAL_N_ELEMENTS part 2
Change-Id: If00e371c3cd3ae616309a172c875faed016e391b
Reviewed-on: https://gerrit.libreoffice.org/38773
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/misc/inettype.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/misc/inettype.cxx b/svl/source/misc/inettype.cxx index 34d2ba238e86..b073e8b9b0ba 100644 --- a/svl/source/misc/inettype.cxx +++ b/svl/source/misc/inettype.cxx @@ -622,7 +622,7 @@ OUString INetContentTypes::GetPresentation(INetContentType eTypeID, INetContentType INetContentTypes::GetContentType4Extension(OUString const & rExtension) { MediaTypeEntry const * pEntry = seekEntry(rExtension, aStaticExtensionMap, - sizeof aStaticExtensionMap / sizeof (MediaTypeEntry)); + SAL_N_ELEMENTS(aStaticExtensionMap)); if (pEntry) return pEntry->m_eTypeID; INetContentType eTypeID = Registration::GetContentType4Extension(rExtension); |