Kaydet (Commit) 97b4ac00 authored tarafından Matteo Casalin's avatar Matteo Casalin

Use indexed getToken()

Change-Id: If5338305e1955c2cad2d9073fdd3f09d6bf55093
Reviewed-on: https://gerrit.libreoffice.org/65666
Tested-by: Jenkins
Reviewed-by: 's avatarMatteo Casalin <matteo.casalin@yahoo.com>
üst c877e2e2
......@@ -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())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment