Kaydet (Commit) 4b2d62f0 authored tarafından matteocam's avatar matteocam

Debugging output

Change-Id: I4e9418746ad50e1bdb1336459c00a4cf614e2350
üst 073be3ab
...@@ -133,7 +133,7 @@ void EditCharAttribUnderline::SetFont( SvxFont& rFont, OutputDevice* pOutDev ) ...@@ -133,7 +133,7 @@ void EditCharAttribUnderline::SetFont( SvxFont& rFont, OutputDevice* pOutDev )
rFont.SetUnderline( (FontUnderline)((const SvxUnderlineItem*)GetItem())->GetValue() ); rFont.SetUnderline( (FontUnderline)((const SvxUnderlineItem*)GetItem())->GetValue() );
/* FIXME(matteocam) */ /* FIXME(matteocam) */
rFont.SetFillColor(aColor); rFont.SetFillColor(aColor); // XXX: alone it works but it set it white (vcl causing troubes?)
// end FIXME // end FIXME
if ( pOutDev ) if ( pOutDev )
......
...@@ -299,11 +299,15 @@ void Font::SetFillColor( const Color& rColor ) ...@@ -299,11 +299,15 @@ void Font::SetFillColor( const Color& rColor )
mpImplFont->maFillColor = rColor; mpImplFont->maFillColor = rColor;
if ( rColor.GetTransparency() ) if ( rColor.GetTransparency() )
mpImplFont->mbTransparent = true; mpImplFont->mbTransparent = true;
if (GetUnderline() == UNDERLINE_SINGLE ) {
fprintf(stderr, "I'm setting a filling (from Font) of (%d,%d,%d) \n",
rColor.GetRed(), rColor.GetGreen(), rColor.GetBlue());
}
} }
void Font::SetBackgroundColor(const Color& rColor) void Font::SetBackgroundColor(const Color& rColor)
{ {
// FIXME // FIXME(matteocam)
//MakeUnique(); //MakeUnique();
/*mpImplFont->maBkgColor = rColor; /*mpImplFont->maBkgColor = rColor;
if () */ if () */
......
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