diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appopen.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx index a641ebb51ed6..001ed1b176d3 100644 --- a/sfx2/source/appl/appopen.cxx +++ b/sfx2/source/appl/appopen.cxx @@ -1128,6 +1128,12 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq ) void SfxApplication::OpenRemoteExec_Impl( SfxRequest& ) { ScopedVclPtrInstance< RemoteFilesDialog > aDlg((vcl::Window*)NULL, WB_OPEN); + + // Filters for test purposes + aDlg->AddFilter("All files", FILTER_ALL); + aDlg->AddFilter("ODT files", "*.odt"); + aDlg->AddFilter("ODS files", "*.ods"); + aDlg->Execute(); } |