Minor changes.

Change-Id: I3b8c51690eb14601435653e9a2255a5c6ed4fd7e
(cherry picked from commit 0b8fe9834b398db7550f30718b3cb63860c6165d)
This commit is contained in:
matteocam 2014-06-02 10:43:34 -04:00 committed by Fridrich Štrba
parent f7f4059805
commit 2f54ab7089
2 changed files with 3 additions and 1 deletions

View File

@ -134,6 +134,8 @@ void EditCharAttribUnderline::SetFont( SvxFont& rFont, OutputDevice* pOutDev )
/* FIXME(matteocam) */
rFont.SetFillColor(aColor); // XXX: alone it works but it set it white (vcl causing troubes?)
//if (pOutDev)
// pOutDev->SetTextFillColor(aColor); // this doesn't work either
// end FIXME
if ( pOutDev )

View File

@ -766,7 +766,7 @@ void OutputDevice::SetTextFillColor( const Color& rColor )
// FIXME(matteocam)
if ( rColor.GetRed() == 0x66 ) { // component of the blue I use
fprintf(stderr, "OutputDevice::SetTextFillColor(Color &): called with (%d, %d, %d)\n",
rColor.GetRed(), rColor.GetBlue(), rColor.GetGreen());
rColor.GetRed(), rColor.GetGreen(), rColor.GetBlue());
}
// end modified code