diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-18 15:20:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-19 07:59:43 +0200 |
commit | 74f938bb10b6db8cae071efc9fd29015befeb5e6 (patch) | |
tree | 8d35905cdf1293819797c6b03bb93678b63796cc /fpicker | |
parent | b98cb40d974d40d131b6b25f96e9c53890154296 (diff) |
loplugin:unusedmethods
Change-Id: I95e63105654952d12c1dfd62f51593de114be569
Reviewed-on: https://gerrit.libreoffice.org/81077
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/fileview.cxx | 22 | ||||
-rw-r--r-- | fpicker/source/office/fileview.hxx | 4 |
2 files changed, 0 insertions, 26 deletions
diff --git a/fpicker/source/office/fileview.cxx b/fpicker/source/office/fileview.cxx index 36de5f043997..b87548cc5a6a 100644 --- a/fpicker/source/office/fileview.cxx +++ b/fpicker/source/office/fileview.cxx @@ -951,28 +951,6 @@ void SvtFileView::SetPosSizePixel( const Point& rNewPos, const Size& rNewSize ) } -bool SvtFileView::Initialize( const css::uno::Reference< css::ucb::XContent>& _xContent ) -{ - WaitObject aWaitCursor( this ); - - mpImpl->Clear(); - ::ucbhelper::Content aContent(_xContent, mpImpl->mxCmdEnv, comphelper::getProcessComponentContext() ); - FileViewResult eResult = mpImpl->GetFolderContent_Impl( FolderDescriptor( aContent ), nullptr, css::uno::Sequence< OUString >() ); - OSL_ENSURE( eResult != eStillRunning, "SvtFileView::Initialize: this was expected to be synchronous!" ); - if ( eResult != eSuccess ) - return false; - - mpImpl->FilterFolderContent_Impl( OUString() ); - - mpImpl->SortFolderContent_Impl(); // possibly not necessary!!!!!!!!!! - mpImpl->CreateDisplayText_Impl(); - mpImpl->OpenFolder_Impl(); - - mpImpl->maOpenDoneLink.Call( this ); - return true; -} - - FileViewResult SvtFileView::Initialize( const OUString& rURL, const OUString& rFilter, diff --git a/fpicker/source/office/fileview.hxx b/fpicker/source/office/fileview.hxx index e655b8c4dcd3..bf957c5127fa 100644 --- a/fpicker/source/office/fileview.hxx +++ b/fpicker/source/office/fileview.hxx @@ -113,10 +113,6 @@ public: const css::uno::Sequence< OUString >& rBlackList ); - /** initializes the view with the content of a folder given by a UCB content - */ - bool Initialize( const css::uno::Reference< css::ucb::XContent>& _xContent ); - /** reads the current content of the current folder again, and applies the given filter to it Note 1: The folder is really read a second time. This implies that any new elements (which were |