summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/graphicmimetype.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/misc/graphicmimetype.cxx')
-rw-r--r--comphelper/source/misc/graphicmimetype.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/misc/graphicmimetype.cxx b/comphelper/source/misc/graphicmimetype.cxx
index 290050df13f8..0aea5afdde98 100644
--- a/comphelper/source/misc/graphicmimetype.cxx
+++ b/comphelper/source/misc/graphicmimetype.cxx
@@ -52,8 +52,8 @@ OUString GraphicMimeTypeHelper::GetMimeTypeForExtension(const OString& rExt)
OUString aMimeType;
- long const nCount = SAL_N_ELEMENTS(aMapper);
- for (long i = 0; (i < nCount) && aMimeType.isEmpty(); ++i)
+ tools::Long const nCount = SAL_N_ELEMENTS(aMapper);
+ for (tools::Long i = 0; (i < nCount) && aMimeType.isEmpty(); ++i)
{
if (rExt == aMapper[i].pExt)
aMimeType = OUString(aMapper[i].pMimeType, strlen(aMapper[i].pMimeType),