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

Caolán McNamara caolanm at redhat.com
Fri Nov 13 03:31:08 PST 2015


 cui/source/dialogs/SpellDialog.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit de0a391137080a18e73f315b6dc5342b5b078574
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Nov 13 11:30:32 2015 +0000

    Related: tdf#95682 set edit to modified after insert symbol/paste
    
    Change-Id: If5892931649bde3d1fc00c0e5817149d0623cb1e

diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index d632fd5..bba5132 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -1558,14 +1558,20 @@ IMPL_LINK_NOARG_TYPED(SentenceEditWindow_Impl, ToolbarHdl, ToolBox *, void)
 {
     const sal_uInt16 nCurItemId = m_xToolbar->GetCurItemId();
     if (nCurItemId == m_xToolbar->GetItemId("paste"))
+    {
         Paste();
+        CallModifyLink();
+    }
     else if (nCurItemId == m_xToolbar->GetItemId("insert"))
     {
         if (Edit::GetGetSpecialCharsFunction())
         {
             OUString aChars = Edit::GetGetSpecialCharsFunction()( this, GetFont() );
             if (!aChars.isEmpty())
+            {
                 ReplaceSelected(aChars);
+                CallModifyLink();
+            }
         }
     }
 }


More information about the Libreoffice-commits mailing list