summaryrefslogtreecommitdiff
path: root/extensions
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 /extensions
parent1274babb68e9dc09747ac54ea19421af839db92a (diff)
sfx2::FileDialogHelper ignores WB_3DLOOK, WB_STDMODAL
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/dbpilots/commonpagesdbp.cxx2
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/dbpilots/commonpagesdbp.cxx b/extensions/source/dbpilots/commonpagesdbp.cxx
index 136eefc2833c..0a48e8f7d873 100644
--- a/extensions/source/dbpilots/commonpagesdbp.cxx
+++ b/extensions/source/dbpilots/commonpagesdbp.cxx
@@ -198,7 +198,7 @@ namespace dbp
//---------------------------------------------------------------------
IMPL_LINK( OTableSelectionPage, OnSearchClicked, PushButton*, /*_pButton*/ )
{
- ::sfx2::FileDialogHelper aFileDlg(WB_3DLOOK);
+ ::sfx2::FileDialogHelper aFileDlg(0);
aFileDlg.SetDisplayDirectory( SvtPathOptions().GetWorkPath() );
static const String s_sDatabaseType = String::CreateFromAscii("StarOffice XML (Base)");
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx
index 5ca5ac4856f2..1953287f4fe9 100644
--- a/extensions/source/propctrlr/formcomponenthandler.cxx
+++ b/extensions/source/propctrlr/formcomponenthandler.cxx
@@ -2836,7 +2836,7 @@ namespace pcr
//------------------------------------------------------------------------
bool FormComponentPropertyHandler::impl_browseForTargetURL_nothrow( Any& _out_rNewValue, ::osl::ClearableMutexGuard& _rClearBeforeDialog ) const
{
- ::sfx2::FileDialogHelper aFileDlg( WB_3DLOOK );
+ ::sfx2::FileDialogHelper aFileDlg(0);
::rtl::OUString sURL;
OSL_VERIFY( impl_getPropertyValue_throw( PROPERTY_TARGET_URL ) >>= sURL );
@@ -2889,7 +2889,7 @@ namespace pcr
//------------------------------------------------------------------------
bool FormComponentPropertyHandler::impl_browseForDatabaseDocument_throw( Any& _out_rNewValue, ::osl::ClearableMutexGuard& _rClearBeforeDialog ) const
{
- ::sfx2::FileDialogHelper aFileDlg(WB_3DLOOK,
+ ::sfx2::FileDialogHelper aFileDlg(0,
::String::CreateFromAscii("sdatabase"));
::rtl::OUString sDataSource;