summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svx/strings.hrc4
-rw-r--r--svx/source/dialog/srchdlg.cxx1
2 files changed, 2 insertions, 3 deletions
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 )