summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-03 15:13:36 +0100
committerBartosz Kosiorek <gang65@poczta.onet.pl>2018-11-06 19:24:26 +0100
commit20826019d8f77129853712c5fdf5134aff058171 (patch)
tree8ac9d3b9fde047884f20b205ab524a6fe7954c7f /sd
parent3c8ad17c769753af50ef14770661a6c1ffed226e (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> Reviewed-on: https://gerrit.libreoffice.org/61326 Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/brkdlg.cxx2
-rw-r--r--sd/source/ui/inc/BreakDlg.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/dlg/brkdlg.cxx b/sd/source/ui/dlg/brkdlg.cxx
index 80e8fb8f6a8f..9dcefb6facf5 100644
--- a/sd/source/ui/dlg/brkdlg.cxx
+++ b/sd/source/ui/dlg/brkdlg.cxx
@@ -40,7 +40,7 @@ namespace sd {
BreakDlg::BreakDlg(weld::Window* pWindow, DrawView* pDrView, DrawDocShell* pShell,
sal_uLong nSumActionCount, sal_uLong nObjCount)
- : GenericDialogController(pWindow, "modules/sdraw/ui/breakdialog.ui", "BreakDialog")
+ : SfxDialogController(pWindow, "modules/sdraw/ui/breakdialog.ui", "BreakDialog")
, m_xFiObjInfo(m_xBuilder->weld_label("metafiles"))
, m_xFiActInfo(m_xBuilder->weld_label("metaobjects"))
, m_xFiInsInfo(m_xBuilder->weld_label("drawingobjects"))
diff --git a/sd/source/ui/inc/BreakDlg.hxx b/sd/source/ui/inc/BreakDlg.hxx
index 02d7a3081aed..21414b64f29e 100644
--- a/sd/source/ui/inc/BreakDlg.hxx
+++ b/sd/source/ui/inc/BreakDlg.hxx
@@ -20,10 +20,10 @@
#ifndef INCLUDED_SD_SOURCE_UI_INC_BREAKDLG_HXX
#define INCLUDED_SD_SOURCE_UI_INC_BREAKDLG_HXX
+#include <sfx2/basedlgs.hxx>
#include <sfx2/progress.hxx>
#include <svx/svdetc.hxx>
#include <vcl/idle.hxx>
-#include <vcl/weld.hxx>
namespace sd {
@@ -33,7 +33,7 @@ class DrawView;
/**
* dialog to break meta files
*/
-class BreakDlg : public weld::GenericDialogController
+class BreakDlg : public SfxDialogController
{
public:
BreakDlg(weld::Window* pWindow, DrawView* pDrView, DrawDocShell* pShell,