diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-14 15:25:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-15 08:33:37 +0200 |
commit | fac166ab23643f2760dba817984b86c2c8dd8ea6 (patch) | |
tree | 3e411e7a8d038f7e1eab7cf1768ef87dc2140ffa /svx/source/styles/CommonStylePreviewRenderer.cxx | |
parent | e48f0084df7971a55eea5865ae0d5189706216b4 (diff) |
remove unused BOTTOM from RenderAlign enum
Change-Id: Ifdef59d0a3c6e5d030a1b34f6157331208e071ea
Diffstat (limited to 'svx/source/styles/CommonStylePreviewRenderer.cxx')
-rw-r--r-- | svx/source/styles/CommonStylePreviewRenderer.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/svx/source/styles/CommonStylePreviewRenderer.cxx b/svx/source/styles/CommonStylePreviewRenderer.cxx index 94da71084d82..3c4b607841f7 100644 --- a/svx/source/styles/CommonStylePreviewRenderer.cxx +++ b/svx/source/styles/CommonStylePreviewRenderer.cxx @@ -210,11 +210,6 @@ bool CommonStylePreviewRenderer::render(const Rectangle& aRectangle, RenderAlign if (aRectangle.GetHeight() > aPixelSize.Height()) aFontDrawPosition.Y() += (aRectangle.GetHeight() - aPixelSize.Height()) / 2; } - else if (eRenderAlign == RenderAlign::BOTTOM) - { - if (aRectangle.GetHeight() > aPixelSize.Height()) - aFontDrawPosition.Y() += aRectangle.GetHeight() - aPixelSize.Height(); - } mrOutputDev.DrawText(aFontDrawPosition, rText); |