configmgr/source/winreg.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 97b4ac005269ba35d87151b55abca6a91c9b5e5f
Author:     Matteo Casalin <matteo.casa...@yahoo.com>
AuthorDate: Sun Dec 9 16:37:34 2018 +0100
Commit:     Matteo Casalin <matteo.casa...@yahoo.com>
CommitDate: Fri Dec 28 16:52:18 2018 +0100

    Use indexed getToken()
    
    Change-Id: If5338305e1955c2cad2d9073fdd3f09d6bf55093
    Reviewed-on: https://gerrit.libreoffice.org/65666
    Tested-by: Jenkins
    Reviewed-by: Matteo Casalin <matteo.casa...@yahoo.com>

diff --git a/configmgr/source/winreg.cxx b/configmgr/source/winreg.cxx
index c7ba91fb205f..0fd372aa927a 100644
--- a/configmgr/source/winreg.cxx
+++ b/configmgr/source/winreg.cxx
@@ -211,9 +211,9 @@ void dumpWindowsRegistryKey(HKEY hKey, OUString const & 
aKeyName, TempFile &aFil
             sal_Int32 nCloseNode = 0;
 
             aFileHandle.writeString("<item oor:path=\"");
-            for(sal_Int32 nIndex = 0;; ++nIndex)
+            for(sal_Int32 nIndex = 0;;)
             {
-                OUString aNextPathPart = aPathAndNodes.getToken(nIndex, '\\');
+                OUString aNextPathPart = aPathAndNodes.getToken(0, '\\', 
nIndex);
 
                 if(!aNextPathPart.isEmpty())
                 {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to