Kaydet (Commit) cb0aa857 authored tarafından Ivan Timofeev's avatar Ivan Timofeev

fdo#49441: don't overwrite the first element in the sequence

regression from 399e425f

Change-Id: I2907a03ca731f43630e5f36cf78682de8a364924
üst e19be74f
...@@ -622,7 +622,7 @@ Sequence< rtl::OUString > SAL_CALL SvtFilePicker::getFiles() throw( RuntimeExcep ...@@ -622,7 +622,7 @@ Sequence< rtl::OUString > SAL_CALL SvtFilePicker::getFiles() throw( RuntimeExcep
for(size_t i = 0; i < aPathList.size(); ++i) for(size_t i = 0; i < aPathList.size(); ++i)
{ {
aObj.SetURL(aPathList[i]); aObj.SetURL(aPathList[i]);
aPath[i] = aObj.getName(); aPath[i + 1] = aObj.getName();
} }
} }
......
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