[Libreoffice-commits] core.git: vcl/quartz

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue Dec 22 17:31:28 UTC 2020


 vcl/quartz/utils.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 72ff89f147340795fae439c6b9274e67e286c5b6
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Dec 22 13:50:28 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Dec 22 18:30:33 2020 +0100

    loplugin:loopvartoosmall
    
    Change-Id: Ia9ae40b6286801c7cbdab6856d57e0ddd37aba87
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108161
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/vcl/quartz/utils.cxx b/vcl/quartz/utils.cxx
index 0182ec118886..b07e68f74642 100644
--- a/vcl/quartz/utils.cxx
+++ b/vcl/quartz/utils.cxx
@@ -89,7 +89,7 @@ OUString NSStringArrayToOUString(NSArray* array)
 {
     OUString result = "[";
     OUString sep;
-    for (unsigned i = 0; i < [array count]; i++)
+    for (NSUInteger i = 0; i < [array count]; i++)
     {
         result = result + sep + OUString::fromUtf8([[array objectAtIndex:i] UTF8String]);
         sep = ",";


More information about the Libreoffice-commits mailing list