summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2016-12-16 23:23:31 -0400
committerMichael Meeks <michael.meeks@collabora.com>2016-12-19 17:10:53 +0000
commitd8b22b3e6c1247b344c8cf446815f237e1d3ecd2 (patch)
tree7f80cdd74accc7ddded8e48ceefcd89a160d2d20 /vcl
parentd2fd633f35ad70ab8adcd8a0b54d2e991a56e475 (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 'vcl')
-rw-r--r--vcl/source/outdev/font.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index a7c8b3a41bf2..edc7cfce3109 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -568,6 +568,11 @@ void OutputDevice::ImplClearFontData( const bool bNewFontLists )
}
}
+void OutputDevice::RefreshFontData( const bool bNewFontLists )
+{
+ ImplRefreshFontData( bNewFontLists );
+}
+
void OutputDevice::ImplRefreshFontData( const bool bNewFontLists )
{
// if ( GetOutDevType() == OUTDEV_PRINTER || mpPDFWriter )