diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2015-06-05 17:40:40 +0200 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2015-07-16 09:52:47 +0200 |
commit | 9464775a9f4a9368069d928a915bb91c2c447413 (patch) | |
tree | 5f19fb97120eb92da6aa5b58d743d4d55446fe3a /sfx2 | |
parent | e881504669930cdce875b33b80ecff0e17061827 (diff) |
filter select handler
Change-Id: Iec362f7cf6540a5f312a9fdb4898c94433f68a9d
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(); } |