summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-08-24 16:25:02 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-08-24 16:28:43 +0400
commitcb0aa85747fa6ada9a7dc4b32e5c5bf3d3850f35 (patch)
treecc3ddbd5ca0498420b0fbb51838552d8d1aeebfc /fpicker
parente19be74ff56422ba908a4e7a70dccda6a94c7026 (diff)
fdo#49441: don't overwrite the first element in the sequence
regression from 399e425fc9b9a89045bb1653769f581ed5fa5028 Change-Id: I2907a03ca731f43630e5f36cf78682de8a364924
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/OfficeFilePicker.cxx2
1 files changed, 1 insertions, 1 deletions
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();
}
}