basctl/source/basicide/baside3.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit c395fc2ba51bf71bd70fcfa51c9fadb83ae24913
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Sat Apr 29 14:39:15 2023 +0200
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Sat Apr 29 21:32:11 2023 +0200

    These are not applicable to FILEOPEN_SIMPLE
    
    Change-Id: Id2668a6b30f7062e42ec60b3664b9a7490feccd1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151128
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/basctl/source/basicide/baside3.cxx 
b/basctl/source/basicide/baside3.cxx
index 0e51f00be348..f8197a49d909 100644
--- a/basctl/source/basicide/baside3.cxx
+++ b/basctl/source/basicide/baside3.cxx
@@ -791,12 +791,6 @@ bool implImportDialog(weld::Window* pWin, const 
ScriptDocument& rDocument, const
     aDlg.SetContext(sfx2::FileDialogHelper::BasicImportDialog);
     Reference<XFilePicker3> xFP = aDlg.GetFilePicker();
 
-    Reference< XFilePickerControlAccess > xFPControl(xFP, UNO_QUERY);
-    xFPControl->enableControl(ExtendedFilePickerElementIds::CHECKBOX_PASSWORD, 
false);
-    Any aValue;
-    aValue <<= true;
-    xFPControl->setValue(ExtendedFilePickerElementIds::CHECKBOX_AUTOEXTENSION, 
0, aValue);
-
     OUString aDialogStr(IDEResId(RID_STR_STDDIALOGNAME));
     xFP->appendFilter( aDialogStr, "*.xdl" );
     xFP->appendFilter( IDEResId(RID_STR_FILTER_ALLFILES), FilterMask_All );

Reply via email to