[Libreoffice-commits] .: fpicker/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Aug 24 05:29:47 PDT 2012
fpicker/source/office/OfficeFilePicker.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cb0aa85747fa6ada9a7dc4b32e5c5bf3d3850f35
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date: Fri Aug 24 16:25:02 2012 +0400
fdo#49441: don't overwrite the first element in the sequence
regression from 399e425fc9b9a89045bb1653769f581ed5fa5028
Change-Id: I2907a03ca731f43630e5f36cf78682de8a364924
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx
index 4763cb6..adfa6a6 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();
}
}
More information about the Libreoffice-commits
mailing list