diff options
author | Dirk Völzke <dv@openoffice.org> | 2001-08-23 06:46:51 +0000 |
---|---|---|
committer | Dirk Völzke <dv@openoffice.org> | 2001-08-23 06:46:51 +0000 |
commit | 37c66df89f9986d7da5d20fe98f64ef292c87f8e (patch) | |
tree | 38da734b128589c24eb454e98883238d365ab498 /sfx2/source/dialog/filedlghelper.cxx | |
parent | 9cd5808ce8dea9df8be49fcc8dfa352458aa3fb9 (diff) |
#91086# Handle new template FILESAVE_AUTOEXTENSION
Diffstat (limited to 'sfx2/source/dialog/filedlghelper.cxx')
-rw-r--r-- | sfx2/source/dialog/filedlghelper.cxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index c28118c18068..d0c47fc2d1c5 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -2,9 +2,9 @@ * * $RCSfile: filedlghelper.cxx,v $ * - * $Revision: 1.42 $ + * $Revision: 1.43 $ * - * last change: $Author: dv $ $Date: 2001-08-22 08:13:49 $ + * last change: $Author: dv $ $Date: 2001-08-23 07:46:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -826,9 +826,7 @@ FileDialogHelper_Impl::FileDialogHelper_Impl( FileDialogHelper* pParent, // aPreviewTimer maPreViewTimer.SetTimeout( 500 ); maPreViewTimer.SetTimeoutHdl( LINK( this, FileDialogHelper_Impl, TimeOutHdl_Impl ) ); - break; - case FILEOPEN_PLAY: aServiceType[0] <<= TemplateDescription::FILEOPEN_PLAY; break; @@ -840,11 +838,14 @@ FileDialogHelper_Impl::FileDialogHelper_Impl( FileDialogHelper* pParent, aServiceType[0] <<= TemplateDescription::FILEOPEN_LINK_PREVIEW; mbHasPreview = sal_True; mbHasLink = sal_True; - // aPreviewTimer maPreViewTimer.SetTimeout( 500 ); maPreViewTimer.SetTimeoutHdl( LINK( this, FileDialogHelper_Impl, TimeOutHdl_Impl ) ); - + break; + case FILESAVE_AUTOEXTENSION: + aServiceType[0] <<= TemplateDescription::FILESAVE_AUTOEXTENSION; + mbHasAutoExt = sal_True; + mbIsSaveDlg = sal_True; break; default: |