diff options
author | Oliver Specht <oliver.specht@cib.de> | 2024-02-05 14:26:48 +0100 |
---|---|---|
committer | Gabor Kelemen <gabor.kelemen.extern@allotropia.de> | 2024-02-08 18:48:13 +0100 |
commit | cbcf22eb8748d59857b29a8792377a10fc6c42b2 (patch) | |
tree | 462eb2478b324ab988167ad927a4df030c9ac0cd /svx | |
parent | ad8b2e46a337028961c3b7635f6c866b51403faf (diff) |
tdf#159572 select font according to recent settings
selection of a recently inserted special character applies the
stored font to make sure the character is not inserted wit a
font that doesn't contain the symbol
Change-Id: Id61bfac3a2ff22dbdae8a5b83f000d3f0c3e992b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163004
Tested-by: Jenkins
Tested-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/cuicharmap.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/dialog/cuicharmap.cxx b/svx/source/dialog/cuicharmap.cxx index 0d73c0d1b6dd..430bf250fdcd 100644 --- a/svx/source/dialog/cuicharmap.cxx +++ b/svx/source/dialog/cuicharmap.cxx @@ -523,6 +523,7 @@ IMPL_LINK(SvxCharacterMap, CharClickHdl, SvxCharView*, rView, void) { rView->GrabFocus(); + SetCharFont(rView->GetFont()); m_aShowChar.SetText( rView->GetText() ); m_aShowChar.SetFont(rView->GetFont()); m_aShowChar.Invalidate(); |