summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewdlg2.cxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-12-04 16:37:14 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-12-13 15:43:12 +0100
commit03db771e92160e95b0af8710f88b0c43591e8f3e (patch)
treef82f16bd176c23087a0a09eeb21878cd39fc9557 /sw/source/uibase/uiview/viewdlg2.cxx
parent4af729f31c64c09c76ea8bcfa5067092571b92de (diff)
tdf#83877 Add dialog to generate signature line
Change-Id: Iacc929edf1469c7e37707f8d9518cd07642bb9dd Reviewed-on: https://gerrit.libreoffice.org/45810 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sw/source/uibase/uiview/viewdlg2.cxx')
-rw-r--r--sw/source/uibase/uiview/viewdlg2.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/sw/source/uibase/uiview/viewdlg2.cxx b/sw/source/uibase/uiview/viewdlg2.cxx
index fb7d352fd503..38beca593167 100644
--- a/sw/source/uibase/uiview/viewdlg2.cxx
+++ b/sw/source/uibase/uiview/viewdlg2.cxx
@@ -60,6 +60,17 @@ void SwView::ExecDlgExt(SfxRequest const &rReq)
}
break;
}
+ case FN_INSERT_SIGNATURELINE:
+ {
+ SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
+ assert(pFact && "SwAbstractDialogFactory fail!");
+
+ ScopedVclPtr<VclAbstractDialog> pDialog(pFact->CreateSignatureLineDialog(pMDI, *this));
+ assert(pDialog && "Dialog creation failed!");
+ if (pDialog)
+ pDialog->Execute();
+ break;
+ }
case FN_EDIT_FOOTNOTE:
{
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();