summaryrefslogtreecommitdiff
path: root/sw/source/ui/table
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 /sw/source/ui/table
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 'sw/source/ui/table')
-rw-r--r--sw/source/ui/table/convert.cxx2
-rw-r--r--sw/source/ui/table/instable.cxx2
-rw-r--r--sw/source/ui/table/tautofmt.cxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/table/convert.cxx b/sw/source/ui/table/convert.cxx
index e399982fac24..3fff72fbd012 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 a964b644f72d..b960dcb4f168 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)
- : 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 09fe5be864ad..5e666a2e31bc 100644
--- a/sw/source/ui/table/tautofmt.cxx
+++ b/sw/source/ui/table/tautofmt.cxx
@@ -25,7 +25,7 @@
#include <shellres.hxx>
#include <tautofmt.hxx>
-class SwStringInputDlg : public weld::GenericDialogController
+class SwStringInputDlg : public SfxDialogController
{
private:
std::unique_ptr<weld::Label> m_xLabel;
@@ -34,7 +34,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"))
@@ -54,7 +54,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))