[Libreoffice-commits] core.git: vcl/source
LuboÅ¡ LuÅák
l.lunak at suse.cz
Tue Feb 26 04:24:30 PST 2013
vcl/source/gdi/embeddedfontshelper.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6e3ee49a91bdace7f41364e5dee966ca044f2f51
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Tue Feb 26 13:23:26 2013 +0100
another attempt at fixing build with the "generic" PrintFontManager
Change-Id: I2499e57cd3e885594a9c836fabc3b6229c4a34c3
diff --git a/vcl/source/gdi/embeddedfontshelper.cxx b/vcl/source/gdi/embeddedfontshelper.cxx
index c9f3bdf..b063d7d 100644
--- a/vcl/source/gdi/embeddedfontshelper.cxx
+++ b/vcl/source/gdi/embeddedfontshelper.cxx
@@ -14,7 +14,7 @@
#include <vcl/svapp.hxx>
#include <vcl/outdev.hxx>
-#if defined(UNX)
+#if defined(UNX) && !defined(MACOSX)
#include <vcl/fontmanager.hxx>
#endif
@@ -63,7 +63,7 @@ OUString EmbeddedFontsHelper::fontFileUrl( const OUString& familyName, FontFamil
FontWeight weight, FontPitch pitch, rtl_TextEncoding )
{
OUString url;
-#if defined(UNX)
+#if defined(UNX) && !defined(MACOSX)
psp::PrintFontManager& mgr = psp::PrintFontManager::get();
list< psp::fontID > fontIds;
mgr.getFontList( fontIds );
More information about the Libreoffice-commits
mailing list