diff options
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/mtfrenderer/textaction.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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 <basegfx/tools/canvastools.hxx> #include <canvas/canvastools.hxx> - #include <memory> #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 ); |