summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2017-12-08 04:01:02 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2017-12-08 07:21:19 +0100
commit2432c550d203053214310a23630f89baecdff6cc (patch)
tree0acedc232b17514c024cabdf1d7b7c676fa56bba
parent818f9e4017d16d6a48265638393dec4f9ed30649 (diff)
Update recent characters only when the selected character is inserted
Change-Id: Ic8cd715553f995d8adc1e84381c00646c9c252af Reviewed-on: https://gerrit.libreoffice.org/46065 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
-rw-r--r--cui/source/dialogs/cuicharmap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx
index 31c259188431..c01af450b5f8 100644
--- a/cui/source/dialogs/cuicharmap.cxx
+++ b/cui/source/dialogs/cuicharmap.cxx
@@ -631,9 +631,9 @@ void SvxCharacterMap::insertCharToDoc(const OUString& sGlyph)
aArgs[1].Name = "FontName";
aArgs[1].Value <<= aFont.GetFamilyName();
comphelper::dispatchCommand(".uno:InsertSymbol", aArgs);
- }
- updateRecentCharacterList(sGlyph, aFont.GetFamilyName());
+ updateRecentCharacterList(sGlyph, aFont.GetFamilyName());
+ }
}