[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - cui/source include/sfx2 include/svx sd/source sfx2/source svx/source sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Nov 6 18:25:27 UTC 2018


 cui/source/dialogs/passwdomdlg.cxx     |    2 +-
 cui/source/dialogs/postdlg.cxx         |    2 +-
 cui/source/dialogs/zoom.cxx            |    2 +-
 cui/source/inc/passwdomdlg.hxx         |    5 ++---
 cui/source/inc/postdlg.hxx             |    4 ++--
 cui/source/inc/zoom.hxx                |    2 +-
 include/sfx2/new.hxx                   |    3 ++-
 include/svx/passwd.hxx                 |    4 ++--
 sd/source/ui/dlg/brkdlg.cxx            |    2 +-
 sd/source/ui/inc/BreakDlg.hxx          |    4 ++--
 sfx2/source/dialog/versdlg.cxx         |    2 +-
 sfx2/source/doc/new.cxx                |    2 +-
 sfx2/source/inc/versdlg.hxx            |    2 +-
 svx/source/dialog/passwd.cxx           |    2 +-
 sw/source/ui/config/mailconfigpage.cxx |    4 ++--
 sw/source/ui/dbui/mmresultdialogs.cxx  |    8 ++++----
 sw/source/ui/dialog/ascfldlg.cxx       |    2 +-
 sw/source/ui/inc/mmresultdialogs.hxx   |    4 ++--
 sw/source/ui/misc/linenum.cxx          |    2 +-
 sw/source/ui/misc/titlepage.cxx        |    2 +-
 sw/source/ui/table/convert.cxx         |    2 +-
 sw/source/ui/table/instable.cxx        |    2 +-
 sw/source/ui/table/tautofmt.cxx        |    6 +++---
 sw/source/uibase/inc/ascfldlg.hxx      |    2 +-
 sw/source/uibase/inc/convert.hxx       |    4 ++--
 sw/source/uibase/inc/instable.hxx      |    2 +-
 sw/source/uibase/inc/linenum.hxx       |    4 ++--
 sw/source/uibase/inc/tautofmt.hxx      |    2 +-
 sw/source/uibase/inc/titlepage.hxx     |    4 ++--
 29 files changed, 44 insertions(+), 44 deletions(-)

New commits:
commit 20826019d8f77129853712c5fdf5134aff058171
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Oct 3 15:13:36 2018 +0100
Commit:     Bartosz Kosiorek <gang65 at poczta.onet.pl>
CommitDate: Tue Nov 6 19:24:26 2018 +0100

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-on: https://gerrit.libreoffice.org/61326
    Reviewed-by: Bartosz Kosiorek <gang65 at poczta.onet.pl>

diff --git a/cui/source/dialogs/passwdomdlg.cxx b/cui/source/dialogs/passwdomdlg.cxx
index a5efbd0d6428..1d33a32e1321 100644
--- a/cui/source/dialogs/passwdomdlg.cxx
+++ b/cui/source/dialogs/passwdomdlg.cxx
@@ -70,7 +70,7 @@ IMPL_LINK_NOARG(PasswordToOpenModifyDialog, OkBtnClickHdl, weld::Button&, void)
 }
 
 PasswordToOpenModifyDialog::PasswordToOpenModifyDialog(weld::Window * pParent, sal_uInt16 nMaxPasswdLen, bool bIsPasswordToModify)
-    : GenericDialogController(pParent, "cui/ui/password.ui", "PasswordDialog")
+    : SfxDialogController(pParent, "cui/ui/password.ui", "PasswordDialog")
     , m_xPasswdToOpenED(m_xBuilder->weld_entry("newpassEntry"))
     , m_xReenterPasswdToOpenED(m_xBuilder->weld_entry("confirmpassEntry"))
     , m_xOptionsExpander(m_xBuilder->weld_expander("expander"))
diff --git a/cui/source/dialogs/postdlg.cxx b/cui/source/dialogs/postdlg.cxx
index dbf6436e14d0..e9408131c0c1 100644
--- a/cui/source/dialogs/postdlg.cxx
+++ b/cui/source/dialogs/postdlg.cxx
@@ -35,7 +35,7 @@
 
 SvxPostItDialog::SvxPostItDialog(weld::Window* pParent, const SfxItemSet& rCoreSet,
     bool bPrevNext)
-    : GenericDialogController(pParent, "cui/ui/comment.ui", "CommentDialog")
+    : SfxDialogController(pParent, "cui/ui/comment.ui", "CommentDialog")
     , m_rSet(rCoreSet)
     , m_xLastEditFT(m_xBuilder->weld_label("lastedit"))
     , m_xAltTitle(m_xBuilder->weld_label("alttitle"))
diff --git a/cui/source/dialogs/zoom.cxx b/cui/source/dialogs/zoom.cxx
index 9ff5d03f9ace..39e3ee448830 100644
--- a/cui/source/dialogs/zoom.cxx
+++ b/cui/source/dialogs/zoom.cxx
@@ -124,7 +124,7 @@ const SfxItemSet* SvxZoomDialog::GetOutputItemSet() const
 }
 
 SvxZoomDialog::SvxZoomDialog(weld::Window* pParent, const SfxItemSet& rCoreSet)
-    : GenericDialogController(pParent, "cui/ui/zoomdialog.ui", "ZoomDialog")
+    : SfxDialogController(pParent, "cui/ui/zoomdialog.ui", "ZoomDialog")
     , m_rSet(rCoreSet)
     , m_bModified(false)
     , m_xOptimalBtn(m_xBuilder->weld_radio_button("optimal"))
diff --git a/cui/source/inc/passwdomdlg.hxx b/cui/source/inc/passwdomdlg.hxx
index 2d56f3b480ce..618ee1cd232a 100644
--- a/cui/source/inc/passwdomdlg.hxx
+++ b/cui/source/inc/passwdomdlg.hxx
@@ -19,11 +19,10 @@
 #ifndef INCLUDED_CUI_SOURCE_INC_PASSWDOMDLG_HXX
 #define INCLUDED_CUI_SOURCE_INC_PASSWDOMDLG_HXX
 
-#include <vcl/weld.hxx>
+#include <sfx2/basedlgs.hxx>
 #include <memory>
 
-
-class PasswordToOpenModifyDialog : public weld::GenericDialogController
+class PasswordToOpenModifyDialog : public SfxDialogController
 {
     std::unique_ptr<weld::Entry> m_xPasswdToOpenED;
     std::unique_ptr<weld::Entry> m_xReenterPasswdToOpenED;
diff --git a/cui/source/inc/postdlg.hxx b/cui/source/inc/postdlg.hxx
index 45e5c9ea62da..13ecf359c096 100644
--- a/cui/source/inc/postdlg.hxx
+++ b/cui/source/inc/postdlg.hxx
@@ -19,7 +19,7 @@
 #ifndef INCLUDED_CUI_SOURCE_INC_POSTDLG_HXX
 #define INCLUDED_CUI_SOURCE_INC_POSTDLG_HXX
 
-#include <vcl/weld.hxx>
+#include <sfx2/basedlgs.hxx>
 
 // class SvxPostItDialog -------------------------------------------------
 /*
@@ -34,7 +34,7 @@
     <SvxPostItTextItem><SID_ATTR_POSTIT_TEXT>
 */
 
-class SvxPostItDialog : public weld::GenericDialogController
+class SvxPostItDialog : public SfxDialogController
 {
 public:
     SvxPostItDialog(weld::Window* pParent, const SfxItemSet& rCoreSet,
diff --git a/cui/source/inc/zoom.hxx b/cui/source/inc/zoom.hxx
index 7dd271f7b456..c87ff087767f 100644
--- a/cui/source/inc/zoom.hxx
+++ b/cui/source/inc/zoom.hxx
@@ -24,7 +24,7 @@
 #include <svx/zoom_def.hxx>
 #include <vcl/weld.hxx>
 
-class SvxZoomDialog : public weld::GenericDialogController
+class SvxZoomDialog : public SfxDialogController
 {
 private:
     const SfxItemSet&           m_rSet;
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;
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,
diff --git a/sfx2/source/dialog/versdlg.cxx b/sfx2/source/dialog/versdlg.cxx
index 1624304bd20b..e501c219d8d1 100644
--- a/sfx2/source/dialog/versdlg.cxx
+++ b/sfx2/source/dialog/versdlg.cxx
@@ -445,7 +445,7 @@ IMPL_LINK( SfxVersionDialog, ButtonHdl_Impl, Button*, pButton, void )
 }
 
 SfxViewVersionDialog_Impl::SfxViewVersionDialog_Impl(weld::Window *pParent, SfxVersionInfo& rInfo, bool bEdit)
-    : GenericDialogController(pParent, "sfx/ui/versioncommentdialog.ui", "VersionCommentDialog")
+    : SfxDialogController(pParent, "sfx/ui/versioncommentdialog.ui", "VersionCommentDialog")
     , m_rInfo(rInfo)
     , m_xDateTimeText(m_xBuilder->weld_label("timestamp"))
     , m_xSavedByText(m_xBuilder->weld_label("author"))
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx
index af26dab03b42..28fa0413737a 100644
--- a/sfx2/source/doc/new.cxx
+++ b/sfx2/source/doc/new.cxx
@@ -229,7 +229,7 @@ sal_uInt16  SfxNewFileDialog::GetSelectedTemplatePos() const
 }
 
 SfxNewFileDialog::SfxNewFileDialog(weld::Window *pParent, SfxNewFileDialogMode nFlags)
-    : GenericDialogController(pParent, "sfx/ui/loadtemplatedialog.ui", "LoadTemplateDialog")
+    : SfxDialogController(pParent, "sfx/ui/loadtemplatedialog.ui", "LoadTemplateDialog")
     , m_nFlags(nFlags)
     , m_xPreviewController(new SfxPreviewWin_Impl)
     , m_xRegionLb(m_xBuilder->weld_tree_view("categories"))
diff --git a/sfx2/source/inc/versdlg.hxx b/sfx2/source/inc/versdlg.hxx
index fa687f3c81f1..3f545c8b1dbb 100644
--- a/sfx2/source/inc/versdlg.hxx
+++ b/sfx2/source/inc/versdlg.hxx
@@ -71,7 +71,7 @@ public:
     bool                        IsSaveVersionOnClose() const { return m_bIsSaveVersionOnClose; }
 };
 
-class SfxViewVersionDialog_Impl : public weld::GenericDialogController
+class SfxViewVersionDialog_Impl : public SfxDialogController
 {
 private:
     SfxVersionInfo&   m_rInfo;
diff --git a/svx/source/dialog/passwd.cxx b/svx/source/dialog/passwd.cxx
index 2a66b031bec4..5737e4f027c2 100644
--- a/svx/source/dialog/passwd.cxx
+++ b/svx/source/dialog/passwd.cxx
@@ -62,7 +62,7 @@ IMPL_LINK_NOARG(SvxPasswordDialog, EditModifyHdl, weld::Entry&, void)
 }
 
 SvxPasswordDialog::SvxPasswordDialog(weld::Window* pParent, bool bDisableOldPassword)
-    : GenericDialogController(pParent, "svx/ui/passwd.ui", "PasswordDialog")
+    : SfxDialogController(pParent, "svx/ui/passwd.ui", "PasswordDialog")
     , m_aOldPasswdErrStr(SvxResId(RID_SVXSTR_ERR_OLD_PASSWD))
     , m_aRepeatPasswdErrStr(SvxResId(RID_SVXSTR_ERR_REPEAT_PASSWD ))
     , m_xOldFL(m_xBuilder->weld_label("oldpass"))
diff --git a/sw/source/ui/config/mailconfigpage.cxx b/sw/source/ui/config/mailconfigpage.cxx
index 1038a54c6358..d9d0b231ee5d 100644
--- a/sw/source/ui/config/mailconfigpage.cxx
+++ b/sw/source/ui/config/mailconfigpage.cxx
@@ -73,7 +73,7 @@ public:
     virtual void dispose() override;
 };
 
-class SwAuthenticationSettingsDialog : public weld::GenericDialogController
+class SwAuthenticationSettingsDialog : public SfxDialogController
 {
     SwMailMergeConfigItem& m_rConfigItem;
 
@@ -393,7 +393,7 @@ SwMailConfigDlg::SwMailConfigDlg(vcl::Window* pParent, SfxItemSet& rSet)
 
 SwAuthenticationSettingsDialog::SwAuthenticationSettingsDialog(
     weld::Window* pParent, SwMailMergeConfigItem& rItem)
-    : GenericDialogController(pParent, "modules/swriter/ui/authenticationsettingsdialog.ui", "AuthenticationSettingsDialog")
+    : SfxDialogController(pParent, "modules/swriter/ui/authenticationsettingsdialog.ui", "AuthenticationSettingsDialog")
     , m_rConfigItem(rItem)
     , m_xAuthenticationCB(m_xBuilder->weld_check_button("authentication"))
     , m_xSeparateAuthenticationRB(m_xBuilder->weld_radio_button("separateauthentication"))
diff --git a/sw/source/ui/dbui/mmresultdialogs.cxx b/sw/source/ui/dbui/mmresultdialogs.cxx
index 0e2d1bf4d533..dba2a288d21e 100644
--- a/sw/source/ui/dbui/mmresultdialogs.cxx
+++ b/sw/source/ui/dbui/mmresultdialogs.cxx
@@ -190,14 +190,14 @@ IMPL_LINK( SwSendQueryBox_Impl, ModifyHdl, weld::Entry&, rEdit, void)
     m_xOKPB->set_sensitive(bIsEmptyAllowed  || !rEdit.get_text().isEmpty());
 }
 
-class SwCopyToDialog : public weld::GenericDialogController
+class SwCopyToDialog : public SfxDialogController
 {
     std::unique_ptr<weld::Entry> m_xCCED;
     std::unique_ptr<weld::Entry> m_xBCCED;
 
 public:
     explicit SwCopyToDialog(weld::Window* pParent)
-        : GenericDialogController(pParent, "modules/swriter/ui/ccdialog.ui", "CCDialog")
+        : SfxDialogController(pParent, "modules/swriter/ui/ccdialog.ui", "CCDialog")
         , m_xCCED(m_xBuilder->weld_entry("cc"))
         , m_xBCCED(m_xBuilder->weld_entry("bcc"))
     {
@@ -211,7 +211,7 @@ public:
 };
 
 SwMMResultSaveDialog::SwMMResultSaveDialog(weld::Window* pParent)
-    : GenericDialogController(pParent, "modules/swriter/ui/mmresultsavedialog.ui", "MMResultSaveDialog")
+    : SfxDialogController(pParent, "modules/swriter/ui/mmresultsavedialog.ui", "MMResultSaveDialog")
     , m_bCancelSaving(false)
     , m_xSaveAsOneRB(m_xBuilder->weld_radio_button("singlerb"))
     , m_xSaveIndividualRB(m_xBuilder->weld_radio_button("individualrb"))
@@ -243,7 +243,7 @@ SwMMResultSaveDialog::~SwMMResultSaveDialog()
 }
 
 SwMMResultPrintDialog::SwMMResultPrintDialog(weld::Window* pParent)
-    : GenericDialogController(pParent, "modules/swriter/ui/mmresultprintdialog.ui", "MMResultPrintDialog")
+    : SfxDialogController(pParent, "modules/swriter/ui/mmresultprintdialog.ui", "MMResultPrintDialog")
     , m_xPrinterFT(m_xBuilder->weld_label("printerft"))
     , m_xPrinterLB(m_xBuilder->weld_combo_box_text("printers"))
     , m_xPrinterSettingsPB(m_xBuilder->weld_button("printersettings"))
diff --git a/sw/source/ui/dialog/ascfldlg.cxx b/sw/source/ui/dialog/ascfldlg.cxx
index 5c780926ae43..da8ad60e1dd4 100644
--- a/sw/source/ui/dialog/ascfldlg.cxx
+++ b/sw/source/ui/dialog/ascfldlg.cxx
@@ -61,7 +61,7 @@ const sal_Int32 nDialogExtraDataLen = 11;      // 12345678901
 
 SwAsciiFilterDlg::SwAsciiFilterDlg( weld::Window* pParent, SwDocShell& rDocSh,
                                     SvStream* pStream )
-    : GenericDialogController(pParent, "modules/swriter/ui/asciifilterdialog.ui", "AsciiFilterDialog")
+    : SfxDialogController(pParent, "modules/swriter/ui/asciifilterdialog.ui", "AsciiFilterDialog")
     , m_bSaveLineStatus(true)
     , m_xCharSetLB(new TextEncodingBox(m_xBuilder->weld_combo_box_text("charset")))
     , m_xFontFT(m_xBuilder->weld_label("fontft"))
diff --git a/sw/source/ui/inc/mmresultdialogs.hxx b/sw/source/ui/inc/mmresultdialogs.hxx
index d391f34a50f9..621ce751c33e 100644
--- a/sw/source/ui/inc/mmresultdialogs.hxx
+++ b/sw/source/ui/inc/mmresultdialogs.hxx
@@ -44,7 +44,7 @@ namespace com{ namespace sun{ namespace star{
 }}}
 
 /// Dialog implementing the saving as of the result document.
-class SwMMResultSaveDialog : public weld::GenericDialogController
+class SwMMResultSaveDialog : public SfxDialogController
 {
     bool                   m_bCancelSaving;
 
@@ -65,7 +65,7 @@ public:
 };
 
 /// Dialog implementing the printing of the result document.
-class SwMMResultPrintDialog : public weld::GenericDialogController
+class SwMMResultPrintDialog : public SfxDialogController
 {
     VclPtr<Printer>        m_pTempPrinter;
 
diff --git a/sw/source/ui/misc/linenum.cxx b/sw/source/ui/misc/linenum.cxx
index 281dd9dd0d77..84fa25d78d4e 100644
--- a/sw/source/ui/misc/linenum.cxx
+++ b/sw/source/ui/misc/linenum.cxx
@@ -63,7 +63,7 @@ static void lcl_setLineNumbering(const OUString& rName, SwWrtShell* pSh, bool bL
 }
 
 SwLineNumberingDlg::SwLineNumberingDlg(const SwView& rVw)
-    : GenericDialogController(rVw.GetViewFrame()->GetWindow().GetFrameWeld(),
+    : SfxDialogController(rVw.GetViewFrame()->GetWindow().GetFrameWeld(),
             "modules/swriter/ui/linenumbering.ui", "LineNumberingDialog")
     , m_pSh(rVw.GetWrtShellPtr())
     , m_xBodyContent(m_xBuilder->weld_widget("content"))
diff --git a/sw/source/ui/misc/titlepage.cxx b/sw/source/ui/misc/titlepage.cxx
index 36034678463b..691640578734 100644
--- a/sw/source/ui/misc/titlepage.cxx
+++ b/sw/source/ui/misc/titlepage.cxx
@@ -150,7 +150,7 @@ sal_uInt16 SwTitlePageDlg::GetInsertPosition() const
 }
 
 SwTitlePageDlg::SwTitlePageDlg(weld::Window *pParent)
-    : GenericDialogController(pParent, "modules/swriter/ui/titlepage.ui", "DLG_TITLEPAGE")
+    : SfxDialogController(pParent, "modules/swriter/ui/titlepage.ui", "DLG_TITLEPAGE")
     , mpPageFormatDesc(nullptr)
     , m_xUseExistingPagesRB(m_xBuilder->weld_radio_button("RB_USE_EXISTING_PAGES"))
     , m_xPageCountNF(m_xBuilder->weld_spin_button("NF_PAGE_COUNT"))
diff --git a/sw/source/ui/table/convert.cxx b/sw/source/ui/table/convert.cxx
index 066ad5f51a99..0f797221ad9e 100644
--- a/sw/source/ui/table/convert.cxx
+++ b/sw/source/ui/table/convert.cxx
@@ -91,7 +91,7 @@ void SwConvertTableDlg::GetValues(  sal_Unicode& rDelim,
 }
 
 SwConvertTableDlg::SwConvertTableDlg(SwView& rView, bool bToTable)
-    : GenericDialogController(rView.GetFrameWeld(),
+    : SfxDialogController(rView.GetFrameWeld(),
             "modules/swriter/ui/converttexttable.ui", "ConvertTextTableDialog")
     , m_xTabBtn(m_xBuilder->weld_radio_button("tabs"))
     , m_xSemiBtn(m_xBuilder->weld_radio_button("semicolons"))
diff --git a/sw/source/ui/table/instable.cxx b/sw/source/ui/table/instable.cxx
index 82dff402d7dd..fdc67e35bc76 100644
--- a/sw/source/ui/table/instable.cxx
+++ b/sw/source/ui/table/instable.cxx
@@ -60,7 +60,7 @@ IMPL_LINK(SwInsTableDlg, TextFilterHdl, OUString&, rTest, bool)
 }
 
 SwInsTableDlg::SwInsTableDlg(SwView& rView)
-    : weld::GenericDialogController(rView.GetFrameWeld(), "modules/swriter/ui/inserttable.ui", "InsertTableDialog")
+    : SfxDialogController(rView.GetFrameWeld(), "modules/swriter/ui/inserttable.ui", "InsertTableDialog")
     , m_aTextFilter(" .<>")
     , pShell(&rView.GetWrtShell())
     , pTAutoFormat(nullptr)
diff --git a/sw/source/ui/table/tautofmt.cxx b/sw/source/ui/table/tautofmt.cxx
index 4c716726aafb..2c5c1b194801 100644
--- a/sw/source/ui/table/tautofmt.cxx
+++ b/sw/source/ui/table/tautofmt.cxx
@@ -24,7 +24,7 @@
 #include <shellres.hxx>
 #include <tautofmt.hxx>
 
-class SwStringInputDlg : public weld::GenericDialogController
+class SwStringInputDlg : public SfxDialogController
 {
 private:
     std::unique_ptr<weld::Label> m_xLabel;
@@ -33,7 +33,7 @@ private:
 public:
     SwStringInputDlg(weld::Window* pParent, const OUString& rTitle,
         const OUString& rEditTitle, const OUString& rDefault)
-        : GenericDialogController(pParent, "modules/swriter/ui/stringinput.ui",
+        : SfxDialogController(pParent, "modules/swriter/ui/stringinput.ui",
                 "StringInputDialog")
         , m_xLabel(m_xBuilder->weld_label("name"))
         , m_xEdInput(m_xBuilder->weld_entry("edit"))
@@ -53,7 +53,7 @@ public:
 // AutoFormat-Dialogue:
 SwAutoFormatDlg::SwAutoFormatDlg(weld::Window* pParent, SwWrtShell* pWrtShell,
                                  bool bAutoFormat, const SwTableAutoFormat* pSelFormat)
-    : GenericDialogController(pParent, "modules/swriter/ui/autoformattable.ui",
+    : SfxDialogController(pParent, "modules/swriter/ui/autoformattable.ui",
             "AutoFormatTableDialog")
     , m_aStrTitle(SwResId(STR_ADD_AUTOFORMAT_TITLE))
     , m_aStrLabel(SwResId(STR_ADD_AUTOFORMAT_LABEL))
diff --git a/sw/source/uibase/inc/ascfldlg.hxx b/sw/source/uibase/inc/ascfldlg.hxx
index 81c75663fd6c..9af0f921f04b 100644
--- a/sw/source/uibase/inc/ascfldlg.hxx
+++ b/sw/source/uibase/inc/ascfldlg.hxx
@@ -30,7 +30,7 @@ class SwAsciiOptions;
 class SvStream;
 class SwDocShell;
 
-class SwAsciiFilterDlg : public weld::GenericDialogController
+class SwAsciiFilterDlg : public SfxDialogController
 {
     bool m_bSaveLineStatus;
     OUString m_sExtraData;
diff --git a/sw/source/uibase/inc/convert.hxx b/sw/source/uibase/inc/convert.hxx
index 90d1cfebf715..21180a88e7cb 100644
--- a/sw/source/uibase/inc/convert.hxx
+++ b/sw/source/uibase/inc/convert.hxx
@@ -19,7 +19,7 @@
 #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_CONVERT_HXX
 #define INCLUDED_SW_SOURCE_UIBASE_INC_CONVERT_HXX
 
-#include <vcl/weld.hxx>
+#include <sfx2/basedlgs.hxx>
 
 class VclContainer;
 class SwTableAutoFormat;
@@ -27,7 +27,7 @@ class SwView;
 class SwWrtShell;
 struct SwInsertTableOptions;
 
-class SwConvertTableDlg : public weld::GenericDialogController
+class SwConvertTableDlg : public SfxDialogController
 {
     std::unique_ptr<weld::RadioButton> m_xTabBtn;
     std::unique_ptr<weld::RadioButton> m_xSemiBtn;
diff --git a/sw/source/uibase/inc/instable.hxx b/sw/source/uibase/inc/instable.hxx
index 3f1872fef089..c0194403ab98 100644
--- a/sw/source/uibase/inc/instable.hxx
+++ b/sw/source/uibase/inc/instable.hxx
@@ -35,7 +35,7 @@
 #include <tblafmt.hxx>
 #include <itabenum.hxx>
 
-class SwInsTableDlg : public weld::GenericDialogController
+class SwInsTableDlg : public SfxDialogController
 {
     TextFilter      m_aTextFilter;
 
diff --git a/sw/source/uibase/inc/linenum.hxx b/sw/source/uibase/inc/linenum.hxx
index 127fb10efb27..bb85752defa5 100644
--- a/sw/source/uibase/inc/linenum.hxx
+++ b/sw/source/uibase/inc/linenum.hxx
@@ -19,13 +19,13 @@
 #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_LINENUM_HXX
 #define INCLUDED_SW_SOURCE_UIBASE_INC_LINENUM_HXX
 
-#include <vcl/weld.hxx>
+#include <sfx2/basedlgs.hxx>
 #include "numberingtypelistbox.hxx"
 
 class SwView;
 class SwWrtShell;
 
-class SwLineNumberingDlg : public weld::GenericDialogController
+class SwLineNumberingDlg : public SfxDialogController
 {
 private:
     SwWrtShell* m_pSh;
diff --git a/sw/source/uibase/inc/tautofmt.hxx b/sw/source/uibase/inc/tautofmt.hxx
index 59f80d722f69..1b530c7ed60f 100644
--- a/sw/source/uibase/inc/tautofmt.hxx
+++ b/sw/source/uibase/inc/tautofmt.hxx
@@ -35,7 +35,7 @@ class SwWrtShell;
 
 enum AutoFormatLine { TOP_LINE, BOTTOM_LINE, LEFT_LINE, RIGHT_LINE };
 
-class SwAutoFormatDlg : public weld::GenericDialogController
+class SwAutoFormatDlg : public SfxDialogController
 {
     OUString        m_aStrTitle;
     OUString        m_aStrLabel;
diff --git a/sw/source/uibase/inc/titlepage.hxx b/sw/source/uibase/inc/titlepage.hxx
index 836d1d7dc0c5..6bb24a3fcc0c 100644
--- a/sw/source/uibase/inc/titlepage.hxx
+++ b/sw/source/uibase/inc/titlepage.hxx
@@ -10,13 +10,13 @@
 #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_TITLEPAGE_HXX
 #define INCLUDED_SW_SOURCE_UIBASE_INC_TITLEPAGE_HXX
 
-#include <vcl/weld.hxx>
+#include <sfx2/basedlgs.hxx>
 
 namespace vcl { class Window; }
 class SwWrtShell;
 class SwPageDesc;
 
-class SwTitlePageDlg : public weld::GenericDialogController
+class SwTitlePageDlg : public SfxDialogController
 {
 private:
     SwWrtShell *mpSh;


More information about the Libreoffice-commits mailing list