From bdf260ed3fd2a7361b2833660e1144d50aa92aa1 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 30 Nov 2011 16:08:22 +0100 Subject: sfx2::FileDialogHelper: remove obsolete flags --- sfx2/inc/sfx2/filedlghelper.hxx | 8 -------- sfx2/source/appl/appopen.cxx | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'sfx2') diff --git a/sfx2/inc/sfx2/filedlghelper.hxx b/sfx2/inc/sfx2/filedlghelper.hxx index 215759021ab4..edc3b091fc4a 100644 --- a/sfx2/inc/sfx2/filedlghelper.hxx +++ b/sfx2/inc/sfx2/filedlghelper.hxx @@ -73,22 +73,14 @@ class Window; //----------------------------------------------------------------------------- /* -#define WB_PATH 0x00100000L #define WB_OPEN 0x00200000L #define WB_SAVEAS 0x00400000L #define WB_PASSWORD 0x01000000L -#define WB_READONLY 0x02000000L */ #define SFXWB_INSERT ( 0x04000000L | WB_OPEN ) // ((WinBits)0x00200000) #define SFXWB_PASSWORD WB_PASSWORD // ((WinBits)0x01000000) -#define SFXWB_READONLY WB_READONLY // ((WinBits)0x02000000) -#define SFXWB_PATHDIALOG WB_PATH // ((WinBits)0x00100000) -#define SFXWB_CLASSPATH ( 0x08000000L | SFXWB_PATHDIALOG ) -#define SFXWB_SHOWALLFOLDER 0x10000000L // All folders also mail/news/... #define SFXWB_MULTISELECTION 0x20000000L -#define SFXWB_NOREMOTE 0x40000000L -#define SFXWB_SHOWVERSIONS 0x80000000L #define SFXWB_GRAPHIC 0x00800000L // FileOpen with link and preview box #define SFXWB_SHOWSTYLES 0x01000000L // FileOpen with link and preview box and styles diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx index c6fe758d777b..436a8a939729 100644 --- a/sfx2/source/appl/appopen.cxx +++ b/sfx2/source/appl/appopen.cxx @@ -758,7 +758,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq ) sal_uIntPtr nErr = sfx2::FileOpenDialog_Impl( - SFXWB_MULTISELECTION | SFXWB_SHOWVERSIONS, String(), pURLList, + SFXWB_MULTISELECTION, String(), pURLList, aFilter, pSet, &aPath, nDialog, sStandardDir, aBlackList ); if ( nErr == ERRCODE_ABORT ) -- cgit