editeng/source/editeng/impedit3.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit ff2628e181209093752f7e0ca9f4de128ee1239f Author: himajin100000 <himajin100...@gmail.com> Date: Fri Mar 30 12:31:12 2018 +0900 unprefixed to prefixed, GetRightToLeft() to IsRightToLeft() Change-Id: Id11b30f14d0a4f4c8c45918ff15f32cab3171171 Reviewed-on: https://gerrit.libreoffice.org/52169 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 7364bb1dea34..7cc6dfddb695 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -3149,12 +3149,13 @@ void ImpEditEngine::Paint( OutputDevice* pOutDev, tools::Rectangle aClipRect, Po } #if OSL_DEBUG_LEVEL > 2 - if ( rTextPortion.GetKind() == PORTIONKIND_HYPHENATOR ) + // Do we really need this if statement? + if ( rTextPortion.GetKind() == PortionKind::HYPHENATOR ) { aTmpFont.SetFillColor( COL_LIGHTGRAY ); aTmpFont.SetTransparent( sal_False ); } - if ( rTextPortion.GetRightToLeft() ) + if ( rTextPortion.IsRightToLeft() ) { aTmpFont.SetFillColor( COL_LIGHTGRAY ); aTmpFont.SetTransparent( sal_False ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits