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

regression from 399e425fc9

Change-Id: I2907a03ca731f43630e5f36cf78682de8a364924
This commit is contained in:
Ivan Timofeev
2012-08-24 16:25:02 +04:00
parent e19be74ff5
commit cb0aa85747

View File

@@ -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();
} }
} }