diff --git a/cppcanvas/source/mtfrenderer/textaction.cxx b/cppcanvas/source/mtfrenderer/textaction.cxx index eb95d3983ae9..51554a2e3595 100644 --- a/cppcanvas/source/mtfrenderer/textaction.cxx +++ b/cppcanvas/source/mtfrenderer/textaction.cxx @@ -39,7 +39,6 @@ #include #include - #include #include "textaction.hxx" @@ -331,7 +330,7 @@ namespace cppcanvas if( rSubset.mnSubsetBegin > 0 ) { ::basegfx::B2DHomMatrix aTranslation; - if( rOrigTextLayout->getFont()->getFontRequest().FontDescription.IsVertical ) + if( rOrigTextLayout->getFont()->getFontRequest().FontDescription.IsVertical == css::util::TriState_YES ) { // vertical text -> offset in y direction aTranslation.translate( 0.0, nMinPos );