diff options
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editattr.cxx | 11 | ||||
-rw-r--r-- | editeng/source/editeng/editdoc.cxx | 5 |
2 files changed, 11 insertions, 5 deletions
diff --git a/editeng/source/editeng/editattr.cxx b/editeng/source/editeng/editattr.cxx index 4425871407ec..2d2a167fc9ff 100644 --- a/editeng/source/editeng/editattr.cxx +++ b/editeng/source/editeng/editattr.cxx @@ -131,13 +131,14 @@ void EditCharAttribUnderline::SetFont( SvxFont& rFont, OutputDevice* pOutDev ) Color aColor = RGB_COLORDATA(0x66,0x66, 0xFF); // blue-ish rFont.SetUnderline( (FontUnderline)((const SvxUnderlineItem*)GetItem())->GetValue() ); - if ( pOutDev ) // FIXME(matteocam) - pOutDev->SetTextLineColor( aColor ); - //pOutDev->SetTextLineColor( ((const SvxUnderlineItem*)GetItem())->GetColor() ); - // FIXME(matteocam) + /* FIXME(matteocam) */ + rFont.SetFillColor(aColor); + // end FIXME + if ( pOutDev ) - pOutDev->SetTextFillColor(aColor); + pOutDev->SetTextLineColor( ((const SvxUnderlineItem*)GetItem())->GetColor() ); + } diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx index 8c48fe98da45..6b63440cdc5e 100644 --- a/editeng/source/editeng/editdoc.cxx +++ b/editeng/source/editeng/editdoc.cxx @@ -404,6 +404,11 @@ EditCharAttrib* MakeCharAttrib( SfxItemPool& rPool, const SfxPoolItem& rAttr, sa pNew = new EditCharAttribField( (const SvxFieldItem&)rNew, nS ); } break; + case EE_CHAR_BKGCOLOR: + { + pNew = new EditCharAttribBackgroundColor( (const SvxBackgroundColorItem&)rNew, nS, nE ); + } + break; default: { OSL_FAIL( "Invalid Attribute!" ); |