From 43237fcd90d9f62198743f4a48132ef556abe05d Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 11 May 2014 14:16:44 +0200 Subject: Revert "Resolves: fdo#78217 selected text should be copied in "Replace"" This reverts commit e4d61b3c556189bf0733ab6e7bedaf975427a35a. See discussion https://bugs.freedesktop.org/show_bug.cgi?id=78217 --- 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 5e41c3a61d3e..1ac62ea42cc0 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_pShortED->SetText( sSelection ); + m_pReplaceED->SetText( sSelection ); m_pTextOnlyCB->Check( !bSWriter ); m_pTextOnlyCB->Enable( bSWriter && !sSelection.isEmpty() ); } -- cgit