diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-05 17:00:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-07 07:39:31 +0100 |
commit | e57d61f9c052c4ebb3f940a67ed6dddf26ad5cf0 (patch) | |
tree | 2c8bebca0f99cf07c73384e9f13c405c4c6fa4e9 /unotools | |
parent | 504ae08d8ca7755106926326e8cde8ed015bd2ee (diff) |
the FontToSubsFontFlags enum is not a bitmask
Change-Id: I76a777a1da15df60f283b8f3fbfd36dd05244705
Reviewed-on: https://gerrit.libreoffice.org/64717
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/misc/fontcvt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/misc/fontcvt.cxx b/unotools/source/misc/fontcvt.cxx index 8a47fdb27495..663954c1bfc1 100644 --- a/unotools/source/misc/fontcvt.cxx +++ b/unotools/source/misc/fontcvt.cxx @@ -1387,7 +1387,7 @@ FontToSubsFontConverter CreateFontToSubsFontConverter( const OUString& rOrgName, OUString aName = GetEnglishSearchFontName( rOrgName ); - if ( nFlags & FontToSubsFontFlags::IMPORT ) + if ( nFlags == FontToSubsFontFlags::IMPORT ) { const int nEntries = 2; // only StarMath+StarBats for( int i = 0; i < nEntries; ++i ) |