summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-03 11:02:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-03 09:40:19 +0000
commit5d0e485e827057eee9fb2c997685690b710e7f34 (patch)
treec83057f1e85195379451fafe32b274065f99167e /slideshow
parented6c5a4908edb7d4ab075127b710a92e2abc753f (diff)
use actual UNO enums in reportdesign..svtools
Change-Id: Idcd916382b87f8542dc6b5cdcb5ecb01d6947203 Reviewed-on: https://gerrit.libreoffice.org/36043 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/shapes/viewshape.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/shapes/viewshape.cxx b/slideshow/source/engine/shapes/viewshape.cxx
index 820ec8fbe13d..449f18116e02 100644
--- a/slideshow/source/engine/shapes/viewshape.cxx
+++ b/slideshow/source/engine/shapes/viewshape.cxx
@@ -141,7 +141,7 @@ namespace slideshow
if( rAttr->isCharPostureValid() )
{
aParms.maFontLetterForm =
- rAttr->getCharPosture() == awt::FontSlant_NONE ?
+ rAttr->getCharPosture() == (sal_Int16)awt::FontSlant_NONE ?
rendering::PanoseLetterForm::ANYTHING :
rendering::PanoseLetterForm::OBLIQUE_CONTACT;
}