summaryrefslogtreecommitdiff
path: root/fpicker/source/office
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/office')
-rw-r--r--fpicker/source/office/fileview.cxx22
-rw-r--r--fpicker/source/office/fileview.hxx4
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