[Libreoffice-commits] core.git: editeng/source

Noel Grandin noel.grandin at collabora.co.uk
Wed Mar 7 08:30:43 UTC 2018


 editeng/source/editeng/impedit3.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 39a13fa68c87cc7e141cd75affe228b86dd817e3
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Wed Mar 7 10:30:10 2018 +0200

    fixup "use more Color in editeng..forms"
    
    some of the code changes hidden inside debug ifdefs were broken
    
    Change-Id: I6ceb18950c0cda0592da1da83d7b45240dd60070

diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 5209c5b908dc..cbb8c2b3d3d9 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -3157,17 +3157,17 @@ void ImpEditEngine::Paint( OutputDevice* pOutDev, tools::Rectangle aClipRect, Po
 #if OSL_DEBUG_LEVEL > 2
                                 if ( rTextPortion.GetKind() == PORTIONKIND_HYPHENATOR )
                                 {
-                                    aTmpFont.SetFillCOL_LIGHTGRAY );
+                                    aTmpFont.SetFillColor( COL_LIGHTGRAY );
                                     aTmpFont.SetTransparent( sal_False );
                                 }
                                 if ( rTextPortion.GetRightToLeft()  )
                                 {
-                                    aTmpFont.SetFillCOL_LIGHTGRAY );
+                                    aTmpFont.SetFillColor( COL_LIGHTGRAY );
                                     aTmpFont.SetTransparent( sal_False );
                                 }
                                 else if ( GetI18NScriptType( EditPaM( pPortion->GetNode(), nIndex+1 ) ) == i18n::ScriptType::COMPLEX )
                                 {
-                                    aTmpFont.SetFillCOL_LIGHTCYAN );
+                                    aTmpFont.SetFillColor( COL_LIGHTCYAN );
                                     aTmpFont.SetTransparent( sal_False );
                                 }
 #endif


More information about the Libreoffice-commits mailing list