summaryrefslogtreecommitdiff
path: root/vcl/source/font/font.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/font/font.cxx')
-rw-r--r--vcl/source/font/font.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/font/font.cxx b/vcl/source/font/font.cxx
index 06591700ee11..c6351c228097 100644
--- a/vcl/source/font/font.cxx
+++ b/vcl/source/font/font.cxx
@@ -210,7 +210,7 @@ void Font::SetKerning( FontKerning eKerning )
bool Font::IsKerning() const
{
- return !(mpImplFont->meKerning == FontKerning::NONE);
+ return mpImplFont->meKerning != FontKerning::NONE;
}
void Font::SetWeight( FontWeight eWeight )