summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-11-30 16:08:22 +0100
committerMichael Stahl <mstahl@redhat.com>2011-12-03 00:48:12 +0100
commit434c1e313236997ef668853cf74be5fa611fb2be (patch)
tree9e89f2036f098f545f5ca2b35b8d10c916e121d5 /sd
parent1274babb68e9dc09747ac54ea19421af839db92a (diff)
sfx2::FileDialogHelper ignores WB_3DLOOK, WB_STDMODAL
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/tpaction.cxx2
-rw-r--r--sd/source/ui/func/fuinsfil.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/tpaction.cxx b/sd/source/ui/dlg/tpaction.cxx
index fd468003395d..6916730a8e99 100644
--- a/sd/source/ui/dlg/tpaction.cxx
+++ b/sd/source/ui/dlg/tpaction.cxx
@@ -470,7 +470,7 @@ void SdTPAction::OpenFileDialog()
}
else
{
- sfx2::FileDialogHelper aFileDialog(WB_3DLOOK | WB_STDMODAL);
+ sfx2::FileDialogHelper aFileDialog(0);
if (bDocument && !aFile.Len())
aFile = SvtPathOptions().GetWorkPath();
diff --git a/sd/source/ui/func/fuinsfil.cxx b/sd/source/ui/func/fuinsfil.cxx
index 7575773015f0..59fb1a0672dc 100644
--- a/sd/source/ui/func/fuinsfil.cxx
+++ b/sd/source/ui/func/fuinsfil.cxx
@@ -116,7 +116,7 @@ void FuInsertFile::DoExecute( SfxRequest& rReq )
if (!pArgs)
{
- sfx2::FileDialogHelper aFileDialog( SFXWB_INSERT | WB_STDMODAL );
+ sfx2::FileDialogHelper aFileDialog( SFXWB_INSERT );
Reference< XFilePicker > xFilePicker( aFileDialog.GetFilePicker(), UNO_QUERY );
Reference< XFilterManager > xFilterManager( xFilePicker, UNO_QUERY );
String aOwnCont;