diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-28 13:30:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-28 12:21:06 +0000 |
commit | e4f6db9ec254ece82c55f98767e361ad30b25182 (patch) | |
tree | db263a613c6c50a936c61aa251e5861483921a1c | |
parent | 563e56653b725e8f968df60eb25132fd7084461c (diff) |
FontDescription.IsVertical is a tristate
found by still in progress "UNO scoped enum" change
Change-Id: I0a21b89e77be165bc96e914017a402cf8724d218
Reviewed-on: https://gerrit.libreoffice.org/34719
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
-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 ); |