[Libreoffice-commits] core.git: cui/source

Julien Nabet serval2412 at yahoo.fr
Sat May 3 23:33:08 PDT 2014


 cui/source/tabpages/autocdlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e4d61b3c556189bf0733ab6e7bedaf975427a35a
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun May 4 08:32:04 2014 +0200

    Resolves: fdo#78217 selected text should be copied in "Replace"
    
    Change-Id: I548d46ec46ff07528bd1f8ed6be09463354826d8

diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index db8330c..15d202f 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() );
     }


More information about the Libreoffice-commits mailing list