diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-20 17:01:04 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-25 20:13:13 +0200 |
commit | 639e700365a3c647dfc424100dc6958d06836106 (patch) | |
tree | 1d524a8e21420d9a9f9afb133fc3846be537bbde /sw/inc/swunohelper.hxx | |
parent | SwXTextDefaults: use comphelper/stlunosequence.hxx (diff) | |
download | core-639e700365a3c647dfc424100dc6958d06836106.tar.gz core-639e700365a3c647dfc424100dc6958d06836106.zip |
Convert UCB_GetFileListOfFolder from SvPtrarr to std::vector
Change-Id: I460f33d65ee2ea1b16296063715ae4040759b776
Diffstat (limited to 'sw/inc/swunohelper.hxx')
-rw-r--r-- | sw/inc/swunohelper.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/inc/swunohelper.hxx b/sw/inc/swunohelper.hxx index 6d61d2e4fcad..f49cee9cb1a2 100644 --- a/sw/inc/swunohelper.hxx +++ b/sw/inc/swunohelper.hxx @@ -31,6 +31,7 @@ #include <tools/solar.h> #include <sal/types.h> #include "swdllapi.h" +#include <tools/datetime.hxx> #include <vector> @@ -69,10 +70,10 @@ SW_DLLPUBLIC sal_Bool UCB_IsReadOnlyFileName( const String& rURL ); // pDateTime != 0 -> returns also the modified date/time of // the files in a SvPtrarr --> // !! objects must be deleted from the caller!! -sal_Bool UCB_GetFileListOfFolder( const String& rURL, +bool UCB_GetFileListOfFolder( const String& rURL, std::vector<String*>& rList, const String* pExtension = 0, - SvPtrarr* pDateTimeList = 0 ); + std::vector<DateTime*>* pDateTimeList = 0 ); // is the URL an existing file? SW_DLLPUBLIC sal_Bool UCB_IsFile( const String& rURL ); |