diff options
author | Henry Castro <hcastro@collabora.com> | 2016-12-16 23:23:31 -0400 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2016-12-19 17:10:53 +0000 |
commit | d8b22b3e6c1247b344c8cf446815f237e1d3ecd2 (patch) | |
tree | 7f80cdd74accc7ddded8e48ceefcd89a160d2d20 /sd | |
parent | d2fd633f35ad70ab8adcd8a0b54d2e991a56e475 (diff) |
lok: refill font list if empty
After preinit stage the font list is empty
when creating documents.
Change-Id: Ia6938d521626f4b4022f0f993e77c017e4932415
Reviewed-on: https://gerrit.libreoffice.org/32108
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/docshell/docshel4.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx index 672823758601..54a19a3b1e63 100644 --- a/sd/source/ui/docshell/docshel4.cxx +++ b/sd/source/ui/docshell/docshel4.cxx @@ -164,6 +164,7 @@ void DrawDocShell::UpdateFontList() pRefDevice = GetPrinter(true); else pRefDevice = SD_MOD()->GetVirtualRefDevice(); + mpFontList = new FontList( pRefDevice, nullptr, false ); SvxFontListItem aFontListItem( mpFontList, SID_ATTR_CHAR_FONTLIST ); PutItem( aFontListItem ); |