diff options
author | Dieter Loeschky <dl@openoffice.org> | 2001-05-15 07:49:06 +0000 |
---|---|---|
committer | Dieter Loeschky <dl@openoffice.org> | 2001-05-15 07:49:06 +0000 |
commit | e8742ee02aee46835713c963fe58306cba1ffdfe (patch) | |
tree | ab07c05c0d9ebacb9dcc41660f6833707e6b0943 /sd/source/ui/app/sdmod.cxx | |
parent | bfba717587d8c9cd818d7094f779f6ea9123568e (diff) |
- SfxFileDialog
Diffstat (limited to 'sd/source/ui/app/sdmod.cxx')
-rw-r--r-- | sd/source/ui/app/sdmod.cxx | 48 |
1 files changed, 2 insertions, 46 deletions
diff --git a/sd/source/ui/app/sdmod.cxx b/sd/source/ui/app/sdmod.cxx index 957d2f76660b..b6f657574b46 100644 --- a/sd/source/ui/app/sdmod.cxx +++ b/sd/source/ui/app/sdmod.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sdmod.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: ka $ $Date: 2001-04-04 16:35:54 $ + * last change: $Author: dl $ $Date: 2001-05-15 08:48:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -105,7 +105,6 @@ #include "sdmod.hxx" #include "sddll.hxx" #include "sdresid.hxx" -#include "docdlg.hxx" #include "optsitem.hxx" #include "docshell.hxx" #include "drawdoc.hxx" @@ -169,49 +168,6 @@ SdModule::~SdModule() /************************************************************************* |* -|* DocFileDialog -|* -\************************************************************************/ - -SfxFileDialog* SdModule::CreateDocFileDialog( ULONG nBits, - const SfxObjectFactory& rFact, - const SfxItemSet* pSet ) -{ - SfxFileDialog* pDlg; - SfxItemSet aSet( GetPool(), - SID_DOC_READONLY, SID_DOC_READONLY, - SID_PASSWORD, SID_PASSWORD, - SID_LOAD_LAYOUT, SID_LOAD_LAYOUT, - SID_FILE_FILTEROPTIONS, SID_FILE_FILTEROPTIONS, - SID_FILE_NAME, SID_FILE_NAME, 0 ); - - if( pSet ) - aSet.Put( *pSet ); - - if ( WB_SAVEAS == ( nBits & WB_SAVEAS ) ) - nBits |= SFXWB_PASSWORD; - else - { - if ( SFXWB_INSERT != ( nBits & SFXWB_INSERT ) ) - nBits |= SFXWB_READONLY; - } - - // bei Open und SaveAs einen eigenen Dialog mit Filter-Button - // verwenden; - // bei SaveAs eigenen Dialog mit Checkbox verwenden - if ( WB_SAVEAS == ( nBits & WB_SAVEAS ) ) - pDlg = new SdSaveAsDialog( NULL, nBits, rFact, aSet ); - else - pDlg = new SdOpenDialog( NULL, nBits, rFact, aSet ); - - - return pDlg; -} - - - -/************************************************************************* -|* |* Statusbar erzeugen |* \************************************************************************/ |