fixup "use more Color in editeng..forms"
some of the code changes hidden inside debug ifdefs were broken Change-Id: I6ceb18950c0cda0592da1da83d7b45240dd60070
This commit is contained in:
@@ -3157,17 +3157,17 @@ void ImpEditEngine::Paint( OutputDevice* pOutDev, tools::Rectangle aClipRect, Po
|
|||||||
#if OSL_DEBUG_LEVEL > 2
|
#if OSL_DEBUG_LEVEL > 2
|
||||||
if ( rTextPortion.GetKind() == PORTIONKIND_HYPHENATOR )
|
if ( rTextPortion.GetKind() == PORTIONKIND_HYPHENATOR )
|
||||||
{
|
{
|
||||||
aTmpFont.SetFillCOL_LIGHTGRAY );
|
aTmpFont.SetFillColor( COL_LIGHTGRAY );
|
||||||
aTmpFont.SetTransparent( sal_False );
|
aTmpFont.SetTransparent( sal_False );
|
||||||
}
|
}
|
||||||
if ( rTextPortion.GetRightToLeft() )
|
if ( rTextPortion.GetRightToLeft() )
|
||||||
{
|
{
|
||||||
aTmpFont.SetFillCOL_LIGHTGRAY );
|
aTmpFont.SetFillColor( COL_LIGHTGRAY );
|
||||||
aTmpFont.SetTransparent( sal_False );
|
aTmpFont.SetTransparent( sal_False );
|
||||||
}
|
}
|
||||||
else if ( GetI18NScriptType( EditPaM( pPortion->GetNode(), nIndex+1 ) ) == i18n::ScriptType::COMPLEX )
|
else if ( GetI18NScriptType( EditPaM( pPortion->GetNode(), nIndex+1 ) ) == i18n::ScriptType::COMPLEX )
|
||||||
{
|
{
|
||||||
aTmpFont.SetFillCOL_LIGHTCYAN );
|
aTmpFont.SetFillColor( COL_LIGHTCYAN );
|
||||||
aTmpFont.SetTransparent( sal_False );
|
aTmpFont.SetTransparent( sal_False );
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user