summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-13 11:30:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-13 11:30:45 +0000
commitde0a391137080a18e73f315b6dc5342b5b078574 (patch)
treee2eaade132621cfa59115d5a90eb74a4d4c2d6ae
parent5fe66069010e9afc3a16d238592c3b672850514c (diff)
Related: tdf#95682 set edit to modified after insert symbol/paste
Change-Id: If5892931649bde3d1fc00c0e5817149d0623cb1e
-rw-r--r--cui/source/dialogs/SpellDialog.cxx6
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();
+ }
}
}
}