[Libreoffice-commits] .: Branch 'libreoffice-3-6' - fpicker/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Aug 24 07:00:44 PDT 2012
fpicker/source/office/OfficeFilePicker.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 500b4069b66aa897d3ec2a3015d8e061680a8d66
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
(cherry picked from commit cb0aa85747fa6ada9a7dc4b32e5c5bf3d3850f35)
Reviewed-on: https://gerrit.libreoffice.org/474
Reviewed-by: Rafael Dominguez <venccsralph at gmail.com>
Tested-by: Rafael Dominguez <venccsralph at gmail.com>
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Eike Rathke <erack at redhat.com>
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx
index 565964f..170509f 100644
--- a/fpicker/source/office/OfficeFilePicker.cxx
+++ b/fpicker/source/office/OfficeFilePicker.cxx
@@ -632,7 +632,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