summaryrefslogtreecommitdiff
path: root/cui
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 /cui
parent1274babb68e9dc09747ac54ea19421af839db92a (diff)
sfx2::FileDialogHelper ignores WB_3DLOOK, WB_STDMODAL
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/acccfg.cxx4
-rw-r--r--cui/source/options/doclinkdialog.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx
index f4f46625a585..94bd8e3772e0 100644
--- a/cui/source/customize/acccfg.cxx
+++ b/cui/source/customize/acccfg.cxx
@@ -1034,14 +1034,14 @@ void SfxAcceleratorConfigPage::ResetConfig()
IMPL_LINK( SfxAcceleratorConfigPage, Load, Button*, EMPTYARG )
{
// ask for filename, where we should load the new config data from
- StartFileDialog( WB_STDMODAL | WB_3DLOOK, aLoadAccelConfigStr );
+ StartFileDialog( 0, aLoadAccelConfigStr );
return 0;
}
//-----------------------------------------------
IMPL_LINK( SfxAcceleratorConfigPage, Save, Button*, EMPTYARG )
{
- StartFileDialog( WB_SAVEAS | WB_STDMODAL | WB_3DLOOK, aSaveAccelConfigStr );
+ StartFileDialog( WB_SAVEAS, aSaveAccelConfigStr );
return 0;
}
diff --git a/cui/source/options/doclinkdialog.cxx b/cui/source/options/doclinkdialog.cxx
index b6500b31a936..edebdab3f5ea 100644
--- a/cui/source/options/doclinkdialog.cxx
+++ b/cui/source/options/doclinkdialog.cxx
@@ -166,7 +166,7 @@ namespace svx
//------------------------------------------------------------------
IMPL_LINK( ODocumentLinkDialog, OnBrowseFile, void*, EMPTYARG )
{
- ::sfx2::FileDialogHelper aFileDlg(WB_3DLOOK | WB_STDMODAL);
+ ::sfx2::FileDialogHelper aFileDlg(0);
static const String s_sDatabaseType = String::CreateFromAscii("StarOffice XML (Base)");
const SfxFilter* pFilter = SfxFilter::GetFilterByName( s_sDatabaseType);
if ( pFilter )