diff options
author | Tino Rachui <tra@openoffice.org> | 2002-07-03 10:42:37 +0000 |
---|---|---|
committer | Tino Rachui <tra@openoffice.org> | 2002-07-03 10:42:37 +0000 |
commit | 7f0b24695a25c9ad0fc7ae50327a6f4740eaedd3 (patch) | |
tree | bac2500556b0450b0b98005ee8a3f2b654787f09 /fpicker | |
parent | 81feb3197ea362fb7bd2c013368f11d2a006d940 (diff) |
merge from 1.6.1.2
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/win32/filepicker/FileOpenDlg.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fpicker/source/win32/filepicker/FileOpenDlg.cxx b/fpicker/source/win32/filepicker/FileOpenDlg.cxx index fe4a428e6f16..cf70e4d974a2 100644 --- a/fpicker/source/win32/filepicker/FileOpenDlg.cxx +++ b/fpicker/source/win32/filepicker/FileOpenDlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: FileOpenDlg.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: hjs $ $Date: 2002-06-11 18:30:32 $ + * last change: $Author: tra $ $Date: 2002-07-03 11:42:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -133,6 +133,8 @@ CFileOpenDialog::CFileOpenDialog( m_ofn.lStructSize = _OPENFILENAME_SIZE_VERSION_400W; } + // 0x02000000 for #97681, sfx will make the entry into + // the recent document list m_ofn.Flags |= dwFlags | OFN_EXPLORER | OFN_ENABLEHOOK | @@ -140,7 +142,8 @@ CFileOpenDialog::CFileOpenDialog( OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST | OFN_OVERWRITEPROMPT | - OFN_ENABLESIZING; + OFN_ENABLESIZING | + 0x02000000; // 0x02000000 -> OFN_DONTADDTORECENT only available with new platform sdk // it is a little hack but how else could // we get a parent window (using a vcl window?) |