diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2015-08-18 10:42:41 +0200 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2015-08-29 12:33:09 +0200 |
commit | 495285ee3a00d6c14e3d5a8df2e5715fb7edb233 (patch) | |
tree | 71519e8c206240ac84a0013bc7e3325456706914 /svtools | |
parent | 5f2f8343927a447b5005ba7f49fb84603b92ea6c (diff) |
RemoteFilesDialog: file name autocompletion
Change-Id: Iab051ccaf075cc91acce67e01863e8d7ecac820c
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/fileview.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index 81e7f5e8b32c..1ce95e82b98d 100644 --- a/svtools/source/contnr/fileview.cxx +++ b/svtools/source/contnr/fileview.cxx @@ -1393,17 +1393,14 @@ OUString SvtFileView::GetConfigString() const return sRet; } -::std::vector< std::pair< OUString, OUString > > SvtFileView::GetSubFolders() +::std::vector< SvtContentEntry > SvtFileView::GetContent() { - ::std::vector< std::pair< OUString, OUString > > aContent; + ::std::vector< SvtContentEntry > aContent; for( ::std::vector< SortingData_Impl* >::size_type i = 0; i < mpImp->maContent.size(); i++ ) { - if( mpImp->maContent[i]->mbIsFolder ) - { - std::pair< OUString, OUString > aEntry( mpImp->maContent[i]->GetTitle(), mpImp->maContent[i]->maTargetURL ); - aContent.push_back( aEntry ); - } + SvtContentEntry aEntry( mpImp->maContent[i]->maTargetURL, mpImp->maContent[i]->mbIsFolder ); + aContent.push_back( aEntry ); } return aContent; |