summaryrefslogtreecommitdiff
path: root/sw/inc/swunohelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-14 10:11:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-15 06:57:19 +0100
commitf7214c70676b35baff427d986ffb85b8c79c0ca8 (patch)
tree34695fcbf1af151fc837cb276d98a92de62f1998 /sw/inc/swunohelper.hxx
parent6018adfabc30ee68939c2d974aa612757bbca938 (diff)
simplify UCB_GetFileListOfFolder
no need to use heap objects here Change-Id: Iadc35b019da7b9446ede79c96a9d8ce8c6db81ef Reviewed-on: https://gerrit.libreoffice.org/66315 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/swunohelper.hxx')
-rw-r--r--sw/inc/swunohelper.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/inc/swunohelper.hxx b/sw/inc/swunohelper.hxx
index 35459bdcfa31..b87d7dda833e 100644
--- a/sw/inc/swunohelper.hxx
+++ b/sw/inc/swunohelper.hxx
@@ -56,11 +56,10 @@ SW_DLLPUBLIC bool UCB_IsReadOnlyFileName( const OUString& rURL );
// options: pExtension = 0 -> all, else this specific extension
// pDateTime != 0 -> returns also the modified date/time of
// the files in a vector -->
- // !! objects must be deleted from the caller!!
bool UCB_GetFileListOfFolder( const OUString& rURL,
std::vector<OUString>& rList,
const OUString* pExtension,
- std::vector<DateTime*>* pDateTimeList = nullptr );
+ std::vector<DateTime>* pDateTimeList = nullptr );
// is the URL an existing file?
SW_DLLPUBLIC bool UCB_IsFile( const OUString& rURL );