diff options
author | matteocam <matteo.campanelli@gmail.com> | 2014-05-31 04:46:44 -0400 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2014-06-30 22:54:40 +0200 |
commit | 6d658b15b837398cee4f15405927e7e40e9ec41e (patch) | |
tree | 2aac9e98785ce1d8e408c89809d7d9b9edcfa76f | |
parent | f9e020227afc498a32e24eb731a26587036d53bc (diff) |
Debugging output
Change-Id: I4e9418746ad50e1bdb1336459c00a4cf614e2350
(cherry picked from commit 4b2d62f02a386013d0004058a02fed80eb8df675)
-rw-r--r-- | editeng/source/editeng/editattr.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/font.cxx | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/editeng/source/editeng/editattr.cxx b/editeng/source/editeng/editattr.cxx index 2d2a167fc9ff..b7c41eb09f2d 100644 --- a/editeng/source/editeng/editattr.cxx +++ b/editeng/source/editeng/editattr.cxx @@ -133,7 +133,7 @@ void EditCharAttribUnderline::SetFont( SvxFont& rFont, OutputDevice* pOutDev ) rFont.SetUnderline( (FontUnderline)((const SvxUnderlineItem*)GetItem())->GetValue() ); /* FIXME(matteocam) */ - rFont.SetFillColor(aColor); + rFont.SetFillColor(aColor); // XXX: alone it works but it set it white (vcl causing troubes?) // end FIXME if ( pOutDev ) diff --git a/vcl/source/gdi/font.cxx b/vcl/source/gdi/font.cxx index 616fb61ca96f..f223d7b428b5 100644 --- a/vcl/source/gdi/font.cxx +++ b/vcl/source/gdi/font.cxx @@ -299,11 +299,15 @@ void Font::SetFillColor( const Color& rColor ) mpImplFont->maFillColor = rColor; if ( rColor.GetTransparency() ) 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) { - // FIXME + // FIXME(matteocam) //MakeUnique(); /*mpImplFont->maBkgColor = rColor; if () */ |