summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatteocam <matteo.campanelli@gmail.com>2014-06-02 10:43:34 -0400
committerFridrich Štrba <fridrich.strba@bluewin.ch>2014-06-30 22:54:40 +0200
commit2f54ab70890c7e034fac623701f78ee80ff6fae3 (patch)
tree92a6e89de603ab903983f0c747e681e51e4becbd
parentf7f405980546ad8f07022b3e337d7a6be0a6d316 (diff)
Minor changes.
Change-Id: I3b8c51690eb14601435653e9a2255a5c6ed4fd7e (cherry picked from commit 0b8fe9834b398db7550f30718b3cb63860c6165d)
-rw-r--r--editeng/source/editeng/editattr.cxx2
-rw-r--r--vcl/source/outdev/text.cxx2
2 files changed, 3 insertions, 1 deletions
diff --git a/editeng/source/editeng/editattr.cxx b/editeng/source/editeng/editattr.cxx
index b7c41eb09f2d..694e4d4d225a 100644
--- a/editeng/source/editeng/editattr.cxx
+++ b/editeng/source/editeng/editattr.cxx
@@ -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 )
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index cea9fae24022..397bc5efd458 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -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