diff options
Diffstat (limited to 'vcl/source/app/svapp.cxx')
-rw-r--r-- | vcl/source/app/svapp.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index b41f9267c346..e1448510278a 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -82,6 +82,7 @@ #include <utility> +using namespace ::com::sun::star; using namespace ::com::sun::star::uno; // keycodes handled internally by VCL @@ -1894,4 +1895,18 @@ void Application::AppEvent( const ApplicationEvent& /*rAppEvent*/ ) { } +Reference< ui::dialogs::XFilePicker2 > +Application::createFilePicker( const Reference< uno::XComponentContext >& xSM ) +{ + ImplSVData* pSVData = ImplGetSVData(); + return pSVData->mpDefInst->createFilePicker( xSM ); +} + +Reference< ui::dialogs::XFolderPicker > +Application::createFolderPicker( const Reference< uno::XComponentContext >& xSM ) +{ + ImplSVData* pSVData = ImplGetSVData(); + return pSVData->mpDefInst->createFolderPicker( xSM ); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |