summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-03 15:13:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-03 21:03:43 +0200
commitca8558a28d1dc271cd2f10362e5e0f7d218149cb (patch)
tree73b624d66506093c66c858506016b9b44c6f659a /include
parent349d0e679a4ee296c703145afe73e65efc5d2bff (diff)
Related: tdf#120277 inherit from SfxDialogController
where the dialog originally inherited from SfxModalDialog. Change-Id: Ibe0006de93b0a9f05fb3b6181baf3ba1b4cf04c8 Reviewed-on: https://gerrit.libreoffice.org/61313 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/new.hxx3
-rw-r--r--include/svx/passwd.hxx4
2 files changed, 4 insertions, 3 deletions
diff --git a/include/sfx2/new.hxx b/include/sfx2/new.hxx
index f5c30c23060f..0697414fa4ca 100644
--- a/include/sfx2/new.hxx
+++ b/include/sfx2/new.hxx
@@ -22,6 +22,7 @@
#include <memory>
#include <sal/config.h>
#include <sfx2/dllapi.h>
+#include <sfx2/basedlgs.hxx>
#include <sfx2/objsh.hxx>
#include <vcl/idle.hxx>
@@ -55,7 +56,7 @@ namespace o3tl
#define RET_TEMPLATE_LOAD 100
-class SFX2_DLLPUBLIC SfxNewFileDialog : public weld::GenericDialogController
+class SFX2_DLLPUBLIC SfxNewFileDialog : public SfxDialogController
{
private:
Idle m_aPrevIdle;
diff --git a/include/svx/passwd.hxx b/include/svx/passwd.hxx
index 9f726b0d747c..7915453fb05d 100644
--- a/include/svx/passwd.hxx
+++ b/include/svx/passwd.hxx
@@ -19,10 +19,10 @@
#ifndef INCLUDED_SVX_PASSWD_HXX
#define INCLUDED_SVX_PASSWD_HXX
-#include <vcl/weld.hxx>
+#include <sfx2/basedlgs.hxx>
#include <svx/svxdllapi.h>
-class SVX_DLLPUBLIC SvxPasswordDialog : public weld::GenericDialogController
+class SVX_DLLPUBLIC SvxPasswordDialog : public SfxDialogController
{
private:
OUString m_aOldPasswdErrStr;