diff options
author | himajin100000 <himajin100000@gmail.com> | 2018-03-30 12:31:12 +0900 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-31 12:40:59 +0200 |
commit | ff2628e181209093752f7e0ca9f4de128ee1239f (patch) | |
tree | 1c8776834d4b8c33322be005de2c8c02d6836126 /editeng | |
parent | 1e73a1bfab8abe658e2864ae1512737e489dfb0f (diff) |
unprefixed to prefixed, GetRightToLeft() to IsRightToLeft()
Change-Id: Id11b30f14d0a4f4c8c45918ff15f32cab3171171
Reviewed-on: https://gerrit.libreoffice.org/52169
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
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 ); |