summaryrefslogtreecommitdiff
path: root/fpicker/source/win32/filepicker/FilePicker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/win32/filepicker/FilePicker.cxx')
-rw-r--r--fpicker/source/win32/filepicker/FilePicker.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/fpicker/source/win32/filepicker/FilePicker.cxx b/fpicker/source/win32/filepicker/FilePicker.cxx
index f5f1fe2ddaff..6906d29ae07e 100644
--- a/fpicker/source/win32/filepicker/FilePicker.cxx
+++ b/fpicker/source/win32/filepicker/FilePicker.cxx
@@ -32,7 +32,7 @@
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include "filepickereventnotification.hxx"
-#include <comphelper/sequenceasvector.hxx>
+#include <comphelper/sequence.hxx>
// namespace directives
@@ -382,9 +382,9 @@ uno::Sequence< OUString > SAL_CALL CFilePicker::getSelectedFiles() throw (uno::R
if (c < 2)
return lSource;
- const OUString sPath = lSource[0];
- ::comphelper::SequenceAsVector< OUString > lTarget;
- ::sal_Int32 i = 1;
+ const OUString sPath = lSource[0];
+ ::std::vector< OUString > lTarget;
+ ::sal_Int32 i = 1;
for (i=1; i<c; ++i)
{
const OUString sFile = lSource[i];
@@ -406,7 +406,7 @@ uno::Sequence< OUString > SAL_CALL CFilePicker::getSelectedFiles() throw (uno::R
}
}
- return lTarget.getAsConstList();
+ return comphelper::containerToSequence(lTarget);
}