From 990082f37c31380d9fedd62c5dac1b5bff4c9636 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 29 May 2016 20:23:09 +0200 Subject: Convert FontRelief to scoped enum Change-Id: I545c83d742db27f1a004b66e5eb1ef768f62e011 Reviewed-on: https://gerrit.libreoffice.org/25626 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cppcanvas/source/inc/outdevstate.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cppcanvas/source/inc') diff --git a/cppcanvas/source/inc/outdevstate.hxx b/cppcanvas/source/inc/outdevstate.hxx index 9478e4360138..2d199cc860ce 100644 --- a/cppcanvas/source/inc/outdevstate.hxx +++ b/cppcanvas/source/inc/outdevstate.hxx @@ -62,7 +62,7 @@ namespace cppcanvas textDirection(css::rendering::TextDirection::WEAK_LEFT_TO_RIGHT), textAlignment(0), // TODO(Q2): Synchronize with implrenderer // and possibly new rendering::TextAlignment - textReliefStyle(RELIEF_NONE), + textReliefStyle(FontRelief::NONE), textOverlineStyle(LINESTYLE_NONE), textUnderlineStyle(LINESTYLE_NONE), textStrikeoutStyle(STRIKEOUT_NONE), @@ -103,7 +103,7 @@ namespace cppcanvas PushFlags pushFlags; sal_Int8 textDirection; sal_Int8 textAlignment; - sal_Int8 textReliefStyle; + FontRelief textReliefStyle; sal_Int8 textOverlineStyle; sal_Int8 textUnderlineStyle; sal_Int8 textStrikeoutStyle; -- cgit