diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-13 11:30:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-13 11:30:45 +0000 |
commit | de0a391137080a18e73f315b6dc5342b5b078574 (patch) | |
tree | e2eaade132621cfa59115d5a90eb74a4d4c2d6ae /cui/source | |
parent | 5fe66069010e9afc3a16d238592c3b672850514c (diff) |
Related: tdf#95682 set edit to modified after insert symbol/paste
Change-Id: If5892931649bde3d1fc00c0e5817149d0623cb1e
Diffstat (limited to 'cui/source')
-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(); + } } } } |