summaryrefslogtreecommitdiff
path: root/sw/source/ui/fmtui
diff options
context:
space:
mode:
authorHeiko Tietze <tietze.heiko@gmail.com>2021-03-02 11:43:54 +0100
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2021-03-02 15:37:16 +0100
commit7838c4a955eaccd625116fa1508d66f7fd2a95da (patch)
tree7c03c8f76eb72749c45fc385afa5f49052ffde3e /sw/source/ui/fmtui
parenta2d5b5224aff4358865e73c3c0f67d47ce4b9b99 (diff)
Related tdf#128469 - Change label of Standard button
Change-Id: I1bfc7cbfa71cf76d1cd76db83d8a7f951535e47e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111821 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Tested-by: Jenkins
Diffstat (limited to 'sw/source/ui/fmtui')
-rw-r--r--sw/source/ui/fmtui/tmpdlg.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx
index b87107fd8299..ae69c35093d3 100644
--- a/sw/source/ui/fmtui/tmpdlg.cxx
+++ b/sw/source/ui/fmtui/tmpdlg.cxx
@@ -47,6 +47,7 @@
#include <poolfmt.hxx>
#include <uitool.hxx>
#include <shellres.hxx>
+#include <strings.hrc>
#include <cmdid.h>
#include <SwStyleNameMapper.hxx>
@@ -75,6 +76,10 @@ SwTemplateDlgController::SwTemplateDlgController(weld::Window* pParent,
{
nHtmlMode = ::GetHtmlMode(pWrtShell->GetView().GetDocShell());
SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create();
+
+ weld::Button& pStandardButton(GetStandardButton());
+ pStandardButton.set_label(SwResId(STR_STANDARD_ACTION));
+
// stitch TabPages together
switch( nRegion )
{