summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/print/glyphset.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/print/glyphset.cxx')
-rw-r--r--vcl/unx/generic/print/glyphset.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/print/glyphset.cxx b/vcl/unx/generic/print/glyphset.cxx
index 9dacabb7dfb0..f688cb252dc1 100644
--- a/vcl/unx/generic/print/glyphset.cxx
+++ b/vcl/unx/generic/print/glyphset.cxx
@@ -249,8 +249,8 @@ GlyphSet::PSUploadFont (osl::File& rOutFile, PrinterGfx &rGfx, bool bAllowType42
TrueTypeFont *pTTFont;
OString aTTFileName (rGfx.GetFontMgr().getFontFileSysPath(mnFontID));
int nFace = rGfx.GetFontMgr().getFontFaceNumber(mnFontID);
- sal_Int32 nSuccess = OpenTTFontFile(aTTFileName.getStr(), nFace, &pTTFont);
- if (nSuccess != SF_OK)
+ SFErrCodes nSuccess = OpenTTFontFile(aTTFileName.getStr(), nFace, &pTTFont);
+ if (nSuccess != SFErrCodes::Ok)
return;
utl::TempFile aTmpFile;