diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2022-06-13 17:21:43 +1000 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-07-08 09:28:30 +0200 |
commit | 19347d219fb017eeffb998c7ebd857585f263752 (patch) | |
tree | 88c1ffe6d916514c4417d3d79e000fd851ab5bed /comphelper | |
parent | b4c79383501225f53d1ef0fa430dd84cd97f2979 (diff) |
comphelper: replace tools::Long with size_t
Change-Id: I1eba8e05bdc92fd689e368dd4fe0e79bc1f2b46f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135716
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/graphicmimetype.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/misc/graphicmimetype.cxx b/comphelper/source/misc/graphicmimetype.cxx index bfa7e5c6adf6..f9c6034ac8f9 100644 --- a/comphelper/source/misc/graphicmimetype.cxx +++ b/comphelper/source/misc/graphicmimetype.cxx @@ -53,8 +53,8 @@ OUString GraphicMimeTypeHelper::GetMimeTypeForExtension(std::string_view rExt) OUString aMimeType; - tools::Long const nCount = std::size(aMapper); - for (tools::Long i = 0; (i < nCount) && aMimeType.isEmpty(); ++i) + size_t const nCount = std::size(aMapper); + for (size_t i = 0; (i < nCount) && aMimeType.isEmpty(); ++i) { if (rExt == aMapper[i].pExt) aMimeType = OUString(aMapper[i].pMimeType, strlen(aMapper[i].pMimeType), |