Kaydet (Commit) 39a13fa6 authored tarafından Noel Grandin's avatar Noel Grandin

fixup "use more Color in editeng..forms"

some of the code changes hidden inside debug ifdefs were broken

Change-Id: I6ceb18950c0cda0592da1da83d7b45240dd60070
üst 970d20a3
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment