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

Gabor Kelemen kelemeng at ubuntu.com
Thu Jan 4 21:44:13 UTC 2018


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

New commits:
commit ced886a5c9490d34cc14ffa26bd42ad6195008b6
Author: Gabor Kelemen <kelemeng at ubuntu.com>
Date:   Tue Nov 28 20:36:55 2017 +0100

    tdf#114013 Do not use string concatenation
    
    Instead just give more meaningful custom titles to windows
    
    Change-Id: I69b93abe236472914c099bfa42792b39f0995afe
    Reviewed-on: https://gerrit.libreoffice.org/45438
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Heiko Tietze <tietze.heiko at gmail.com>

diff --git a/include/svx/strings.hrc b/include/svx/strings.hrc
index 402596978a0f..04ddfc467ec2 100644
--- a/include/svx/strings.hrc
+++ b/include/svx/strings.hrc
@@ -1234,8 +1234,8 @@
 #define RID_SVXSTR_SEARCH_STYLES                            NC_("RID_SVXSTR_SEARCH_STYLES", "Including Styles")
 #define RID_SVXSTR_WRITER_STYLES                            NC_("RID_SVXSTR_WRITER_STYLES", "Paragraph St~yles")
 #define RID_SVXSTR_CALC_STYLES                              NC_("RID_SVXSTR_CALC_STYLES", "Cell St~yles")
-#define RID_SVXSTR_SEARCH                                   NC_("RID_SVXSTR_SEARCH", "(Search)")
-#define RID_SVXSTR_REPLACE                                  NC_("RID_SVXSTR_REPLACE", "(Replace)")
+#define RID_SVXSTR_SEARCH                                   NC_("RID_SVXSTR_SEARCH", "Search for formatting")
+#define RID_SVXSTR_REPLACE                                  NC_("RID_SVXSTR_REPLACE", "Replace with formatting")
 #define RID_SVXSTR_SEARCH_END                               NC_("RID_SVXSTR_SEARCH_END", "Reached the end of the document")
 #define RID_SVXSTR_SEARCH_END_SHEET                         NC_("RID_SVXSTR_SEARCH_END_SHEET", "Reached the end of the sheet")
 #define RID_SVXSTR_SEARCH_NOT_FOUND                         NC_("RID_SVXSTR_SEARCH_NOT_FOUND", "Search key not found")
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 504c52f2de4e..b9075133bad0 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -2011,7 +2011,6 @@ IMPL_LINK_NOARG(SvxSearchDialog, FormatHdl_Impl, Button*, void)
     {
         ScopedVclPtr<SfxAbstractTabDialog> pDlg(pFact->CreateTabItemDialog(this, aSet));
         DBG_ASSERT(pDlg, "Dialog creation failed!");
-        aTxt = pDlg->GetText() + aTxt;
         pDlg->SetText( aTxt );
 
         if ( pDlg->Execute() == RET_OK )


More information about the Libreoffice-commits mailing list