INTEGRATION: CWS sb59 (1.17.44); FILE MERGED

2006/08/22 12:58:28 sb 1.17.44.1: #i67487# Made code warning-free (wntmsci10).
This commit is contained in:
Oliver Bolte 2006-10-12 12:44:48 +00:00
parent 0cd146fa5f
commit 7f105af8d4

View file

@ -4,9 +4,9 @@
*
* $RCSfile: xmlfiltersettingsdialog.cxx,v $
*
* $Revision: 1.18 $
* $Revision: 1.19 $
*
* last change: $Author: obo $ $Date: 2006-09-17 07:48:33 $
* last change: $Author: obo $ $Date: 2006-10-12 13:44:48 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -52,6 +52,8 @@
#include <com/sun/star/beans/PropertyValue.hpp>
#endif
#include "com/sun/star/ui/dialogs/TemplateDescription.hpp"
#ifndef _URLOBJ_HXX
#include <tools/urlobj.hxx>
#endif
@ -957,7 +959,9 @@ void XMLFilterSettingsDialog::onSave()
}
// Open Fileopen-Dialog
::sfx2::FileDialogHelper aDlg( ::sfx2::FILESAVE_AUTOEXTENSION, 0 );
::sfx2::FileDialogHelper aDlg(
com::sun::star::ui::dialogs::TemplateDescription::FILESAVE_AUTOEXTENSION,
0 );
String aExtensions( RTL_CONSTASCII_USTRINGPARAM("*.jar") );
String aFilterName( RESID( STR_FILTER_PACKAGE ) );
@ -1002,7 +1006,8 @@ void XMLFilterSettingsDialog::onOpen()
XMLFilterVector aFilters;
// Open Fileopen-Dialog
::sfx2::FileDialogHelper aDlg( ::sfx2::FILEOPEN_SIMPLE, 0 );
::sfx2::FileDialogHelper aDlg(
com::sun::star::ui::dialogs::TemplateDescription::FILEOPEN_SIMPLE, 0 );
String aExtensions( RTL_CONSTASCII_USTRINGPARAM("*.jar") );
String aFilterName( RESID( STR_FILTER_PACKAGE ) );