[Libreoffice-commits] core.git: setup_native/source

abdulwd abdulwd97 at gmail.com
Wed Dec 28 09:42:39 UTC 2016


 setup_native/source/win32/wintools/msimsp/msimsp.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 47f338c1cfca96db8f0384c3498755c4cd6ff2c4
Author: abdulwd <abdulwd97 at gmail.com>
Date:   Wed Dec 28 00:30:39 2016 +0530

    tdf#99589 tolower changed to rtl::toAsciiLowerCase
    
    /home/abdul/libreoffice/setup_native/source/win32/wintools/msimsp/msimsp.c modified
    
    Change-Id: Ia7e111d0920ef7f456bc6f5f6536253da3842ccf
    Reviewed-on: https://gerrit.libreoffice.org/32462
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/setup_native/source/win32/wintools/msimsp/msimsp.c b/setup_native/source/win32/wintools/msimsp/msimsp.c
index 8e2c99d..2af4ceb 100644
--- a/setup_native/source/win32/wintools/msimsp/msimsp.c
+++ b/setup_native/source/win32/wintools/msimsp/msimsp.c
@@ -9,6 +9,7 @@
 
 #include <stdio.h>
 #include <sys/stat.h>
+#include <rtl/character.hxx>
 
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
@@ -44,7 +45,7 @@ int main(int argc, char *argv[])
     /* Get parameters */
     while (argv[1] && (argv[1][0] == '-' || argv[1][0] == '/'))
     {
-        switch(tolower(argv[1][1]))
+        switch(rtl::toAsciiLowerCase(argv[1][1]))
         {
         case 's':
             argv++; argc++;


More information about the Libreoffice-commits mailing list