summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2017-03-08 07:45:27 +0100
committerKatarina Behrens <Katarina.Behrens@cib.de>2017-03-08 11:41:45 +0000
commitcdc601100e3cec820ea0802a03707c445d2800b1 (patch)
tree59080d27b21f5125aaccf4fa1159a66560faf89e
parent57b8a0c3178a0899f5a607e275b5ef8d7c986255 (diff)
tdf#98899 Set a title for Mail Merge Wizard window
Change-Id: Id50bae820bf5e4a84587ead0b600225a5f625050 Reviewed-on: https://gerrit.libreoffice.org/34964 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
-rw-r--r--sw/inc/dbui.hrc1
-rw-r--r--sw/source/ui/dbui/mailmergewizard.cxx2
-rw-r--r--sw/source/ui/dbui/mailmergewizard.src5
3 files changed, 8 insertions, 0 deletions
diff --git a/sw/inc/dbui.hrc b/sw/inc/dbui.hrc
index 45418f50c5b4..28c12f5f6516 100644
--- a/sw/inc/dbui.hrc
+++ b/sw/inc/dbui.hrc
@@ -85,6 +85,7 @@
#define RID_BMP_FORMULA_CALC (RC_DBUI_BEGIN + 60)
#define RID_BMP_FORMULA_APPLY (RC_DBUI_BEGIN + 61)
#define RID_BMP_FORMULA_CANCEL (RC_DBUI_BEGIN + 62)
+#define ST_MMWTITLE (RC_DBUI_BEGIN + 63)
// Elements -----------------------------------------------------------------
#define MM_PART_TITLE 0
diff --git a/sw/source/ui/dbui/mailmergewizard.cxx b/sw/source/ui/dbui/mailmergewizard.cxx
index 7550a04e2bad..c0fd5ba4b55d 100644
--- a/sw/source/ui/dbui/mailmergewizard.cxx
+++ b/sw/source/ui/dbui/mailmergewizard.cxx
@@ -55,6 +55,8 @@ SwMailMergeWizard::SwMailMergeWizard(SwView& rView, std::shared_ptr<SwMailMergeC
defaultButton(WizardButtonFlags::NEXT);
enableButtons(WizardButtonFlags::FINISH, false);
+ setTitleBase(SW_RESSTR( ST_MMWTITLE ) );
+
m_pFinish->SetText(m_sFinish);
m_pNextPage->SetHelpId(HID_MM_NEXT_PAGE);
m_pPrevPage->SetHelpId(HID_MM_PREV_PAGE);
diff --git a/sw/source/ui/dbui/mailmergewizard.src b/sw/source/ui/dbui/mailmergewizard.src
index 43ddf62c4dcf..20651fd67962 100644
--- a/sw/source/ui/dbui/mailmergewizard.src
+++ b/sw/source/ui/dbui/mailmergewizard.src
@@ -59,4 +59,9 @@ String ST_FINISH
Text [ en-US ] = "~Finish";
};
+String ST_MMWTITLE
+{
+ Text [ en-US ] = "Mail Merge Wizard";
+};
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */