From 52225a3b7fd48f79e8376caf498564b7cffc152b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 30 May 2016 14:00:22 +0200 Subject: Convert ComplexTextLayoutMode to scoped enum Change-Id: I257f8e15fec92f0701235a6fe4b6a2272498c4f1 Reviewed-on: https://gerrit.libreoffice.org/25667 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/edit/texteng.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/source/edit/texteng.cxx') diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx index 05e2e73aa814..73dc5f4edada 100644 --- a/vcl/source/edit/texteng.cxx +++ b/vcl/source/edit/texteng.cxx @@ -2985,9 +2985,9 @@ long TextEngine::ImpGetPortionXOffset( sal_uInt32 nPara, TextLine* pLine, sal_uI void TextEngine::ImpInitLayoutMode( OutputDevice* pOutDev ) { - ComplexTextLayoutMode nLayoutMode = pOutDev->GetLayoutMode(); + ComplexTextLayoutFlags nLayoutMode = pOutDev->GetLayoutMode(); - nLayoutMode &= ~(TEXT_LAYOUT_BIDI_RTL | TEXT_LAYOUT_COMPLEX_DISABLED | TEXT_LAYOUT_BIDI_STRONG ); + nLayoutMode &= ~ComplexTextLayoutFlags(ComplexTextLayoutFlags::BiDiRtl | ComplexTextLayoutFlags::ComplexDisabled | ComplexTextLayoutFlags::BiDiStrong ); pOutDev->SetLayoutMode( nLayoutMode ); } -- cgit