diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx index 4763cb6c433b..adfa6a64bc98 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -622,7 +622,7 @@ Sequence< rtl::OUString > SAL_CALL SvtFilePicker::getFiles() throw( RuntimeExcep for(size_t i = 0; i < aPathList.size(); ++i) { aObj.SetURL(aPathList[i]); - aPath[i] = aObj.getName(); + aPath[i + 1] = aObj.getName(); } }