[Libreoffice-commits] core.git: include/svx svx/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Jan 24 13:39:59 UTC 2020


 include/svx/strings.hrc        |    1 +
 svx/source/dialog/_bmpmask.cxx |    2 ++
 2 files changed, 3 insertions(+)

New commits:
commit d52384260c4a8f096945b33b89430398ffa69431
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jan 23 15:50:50 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Jan 24 14:39:24 2020 +0100

    set title of Color Replacer dialog
    
    Change-Id: I79ae929e12b844c738eb62660d363fbd4699ed15
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87295
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/include/svx/strings.hrc b/include/svx/strings.hrc
index ee7e4bc9710d..f3594bde95ed 100644
--- a/include/svx/strings.hrc
+++ b/include/svx/strings.hrc
@@ -1289,6 +1289,7 @@
 #define RID_SVXSTR_SEARCH_REMINDER_END_WRAPPED              NC_("RID_SVXSTR_SEARCH_REMINDER_END_WRAPPED", "Reached the last reminder, continued from the first")
 
 #define RID_SVXDLG_BMPMASK_STR_PALETTE                      NC_("RID_SVXDLG_BMPMASK_STR_PALETTE", "Color Palette")
+#define RID_SVXDLG_BMPMASK_STR_TITLE                        NC_("RID_SVXDLG_BMPMASK_STR_TITLE", "Color Replacer")
 
 #define RID_SVXSTR_ERR_OLD_PASSWD                           NC_("RID_SVXSTR_ERR_OLD_PASSWD", "Invalid password")
 #define RID_SVXSTR_ERR_REPEAT_PASSWD                        NC_("RID_SVXSTR_ERR_REPEAT_PASSWD", "Passwords do not match")
diff --git a/svx/source/dialog/_bmpmask.cxx b/svx/source/dialog/_bmpmask.cxx
index 42d234a9aa79..38c931434fd2 100644
--- a/svx/source/dialog/_bmpmask.cxx
+++ b/svx/source/dialog/_bmpmask.cxx
@@ -377,6 +377,8 @@ SvxBmpMask::SvxBmpMask(SfxBindings *pBindinx, SfxChildWindow *pCW, vcl::Window*
     , aPipetteColor(COL_WHITE)
     , aSelItem(*this, *pBindinx)
 {
+    SetText(SvxResId(RID_SVXDLG_BMPMASK_STR_TITLE));
+
     m_xLbColor1->SetSlotId(SID_BMPMASK_COLOR);
     m_xLbColor2->SetSlotId(SID_BMPMASK_COLOR);
     m_xLbColor3->SetSlotId(SID_BMPMASK_COLOR);


More information about the Libreoffice-commits mailing list