diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-05-29 12:00:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-05-29 14:21:47 +0200 |
commit | d4992bb36efb15da91a70e86e68a80f13b97e947 (patch) | |
tree | e17ad8f8c013fef98d63473fed58eea4d5f5e830 /vcl/source/gdi/embeddedfontshelper.cxx | |
parent | 0611e0643101c9282934de872249b438bd1a7f53 (diff) |
Change SFErrCodes to scoped enum
Change-Id: Ib2f267397e419e8164bb2d732f7cbcca7acad1a6
Reviewed-on: https://gerrit.libreoffice.org/54996
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/source/gdi/embeddedfontshelper.cxx')
-rw-r--r-- | vcl/source/gdi/embeddedfontshelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/embeddedfontshelper.cxx b/vcl/source/gdi/embeddedfontshelper.cxx index ca744e70d850..55ff565988b8 100644 --- a/vcl/source/gdi/embeddedfontshelper.cxx +++ b/vcl/source/gdi/embeddedfontshelper.cxx @@ -189,7 +189,7 @@ void EmbeddedFontsHelper::activateFont( const OUString& fontName, const OUString bool EmbeddedFontsHelper::sufficientTTFRights( const void* data, long size, FontRights rights ) { TrueTypeFont* font; - if( OpenTTFontBuffer( data, size, 0 /*TODO*/, &font ) == SF_OK ) + if( OpenTTFontBuffer( data, size, 0 /*TODO*/, &font ) == SFErrCodes::Ok ) { TTGlobalFontInfo info; GetTTGlobalFontInfo( font, &info ); |