summaryrefslogtreecommitdiff
path: root/vcl/generic/print/glyphset.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/generic/print/glyphset.cxx')
-rw-r--r--vcl/generic/print/glyphset.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/generic/print/glyphset.cxx b/vcl/generic/print/glyphset.cxx
index b040e631e766..139cf069c77f 100644
--- a/vcl/generic/print/glyphset.cxx
+++ b/vcl/generic/print/glyphset.cxx
@@ -845,6 +845,7 @@ GlyphSet::PSUploadFont (osl::File& rOutFile, PrinterGfx &rGfx, bool bAllowType42
if (meBaseType != fonttype::TrueType)
return sal_False;
+#if defined( UNX )
TrueTypeFont *pTTFont;
OString aTTFileName (rGfx.GetFontMgr().getFontFileSysPath(mnFontID));
int nFace = rGfx.GetFontMgr().getFontFaceNumber(mnFontID);
@@ -944,6 +945,11 @@ GlyphSet::PSUploadFont (osl::File& rOutFile, PrinterGfx &rGfx, bool bAllowType42
fclose (pTmpFile);
return sal_True;
+#else
+ (void)rOutFile; (void)rGfx; (void)bAllowType42; (void)rSuppliedFonts;
+# warning FIXME: Missing OpenTTFontFile outside of Unix ...
+ return sal_False;
+#endif
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */