vcl/source/window/window.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit e39546de92449f1fbe722e54b9dbdffbf7f6c64e
Author: Kohei Yoshida <kohei.yosh...@collabora.com>
Date:   Wed May 28 00:46:30 2014 -0400

    Skip UI font check in headless mode.
    
    Change-Id: I249b5394524bab497d421edb7dae08118c5586c5

diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index f16e6bd..043ee7b 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -1235,6 +1235,9 @@ void Window::CopyDeviceArea( SalTwoRect& aPosAry, 
sal_uInt32 nFlags )
 
 bool Window::ImplCheckUIFont( const Font& rFont )
 {
+    if (Application::IsHeadlessModeEnabled())
+        return true;
+
     if( ImplGetSVData()->maGDIData.mbNativeFontConfig )
         return true;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to