diff options
-rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index d632fd546dc2..bba5132593b2 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(); + } } } } |