summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-11-30 16:08:22 +0100
committerMichael Stahl <mstahl@redhat.com>2011-12-03 00:48:12 +0100
commitbdf260ed3fd2a7361b2833660e1144d50aa92aa1 (patch)
tree40d5ebd687e803def4280e36a8e63285f80fd4e2 /sfx2
parent434c1e313236997ef668853cf74be5fa611fb2be (diff)
sfx2::FileDialogHelper: remove obsolete flags
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/sfx2/filedlghelper.hxx8
-rw-r--r--sfx2/source/appl/appopen.cxx2
2 files changed, 1 insertions, 9 deletions
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 )