summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-09-01 17:02:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-09-02 12:34:33 +0200
commit44f023d5999ef32c5d83c1834549fa69e4ad1a34 (patch)
tree5e7f008d8592f52e842350db817a6595e5a25284 /include/sfx2
parentcba232f91898af9e57a5c6980e11974e1a68f2a1 (diff)
always use a systemwindow for file dialog parent
cause the native dialogs can only be a parent of a "real" system window Change-Id: I6d06bda25c74b9a25f71e405027d3fb31711e136 Reviewed-on: https://gerrit.libreoffice.org/41812 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/filedlghelper.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sfx2/filedlghelper.hxx b/include/sfx2/filedlghelper.hxx
index 052285cbd614..9c4534cf036b 100644
--- a/include/sfx2/filedlghelper.hxx
+++ b/include/sfx2/filedlghelper.hxx
@@ -103,7 +103,7 @@ private:
public:
FileDialogHelper( sal_Int16 nDialogType,
FileDialogFlags nFlags = FileDialogFlags::NONE,
- vcl::Window* _pPreferredParent = nullptr );
+ const vcl::Window* _pPreferredParent = nullptr );
FileDialogHelper( sal_Int16 nDialogType,
FileDialogFlags nFlags,
@@ -119,7 +119,7 @@ public:
SfxFilterFlags nDont,
const OUString& rStandardDir,
const css::uno::Sequence< OUString >& rBlackList,
- vcl::Window* _pPreferredParent = nullptr);
+ const vcl::Window* _pPreferredParent = nullptr);
FileDialogHelper( sal_Int16 nDialogType,
FileDialogFlags nFlags,
@@ -127,7 +127,7 @@ public:
const OUString& aExtName,
const OUString& rStandardDir,
const css::uno::Sequence< OUString >& rBlackList,
- vcl::Window* _pPreferredParent = nullptr );
+ const vcl::Window* _pPreferredParent = nullptr );
virtual ~FileDialogHelper();