From e4d61b3c556189bf0733ab6e7bedaf975427a35a Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 4 May 2014 08:32:04 +0200 Subject: Resolves: fdo#78217 selected text should be copied in "Replace" Change-Id: I548d46ec46ff07528bd1f8ed6be09463354826d8 --- cui/source/tabpages/autocdlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui') diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index db8330cb1b8f..15d202fc6f7e 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -1063,7 +1063,7 @@ void OfaAutocorrReplacePage::RefillReplaceBox(bool bFromReset, { bHasSelectionText = true; const OUString sSelection( pViewShell->GetSelectionText() ); - m_pReplaceED->SetText( sSelection ); + m_pShortED->SetText( sSelection ); m_pTextOnlyCB->Check( !bSWriter ); m_pTextOnlyCB->Enable( bSWriter && !sSelection.isEmpty() ); } -- cgit