summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authormatteocam <matteo.campanelli@gmail.com>2014-06-30 14:41:37 -0400
committerFridrich Štrba <fridrich.strba@bluewin.ch>2014-06-30 22:54:44 +0200
commit59a2e1b9fa8663254550838c0c44d0cac290105f (patch)
treecd9b9a0e1bb1de51eca5afc3131caa21c0c8005c /vcl
parent2727a6dbf46fad3301ab0f24dce7da50976212f4 (diff)
Cleanup: removed comments and debugging output
Change-Id: I41f13d33da641153784725344f5bd526ca69542b
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/font.cxx11
-rw-r--r--vcl/source/outdev/text.cxx20
2 files changed, 0 insertions, 31 deletions
diff --git a/vcl/source/gdi/font.cxx b/vcl/source/gdi/font.cxx
index f223d7b428b5..b3daebd8ee3a 100644
--- a/vcl/source/gdi/font.cxx
+++ b/vcl/source/gdi/font.cxx
@@ -305,15 +305,6 @@ void Font::SetFillColor( const Color& rColor )
}
}
-void Font::SetBackgroundColor(const Color& rColor)
-{
- // FIXME(matteocam)
- //MakeUnique();
- /*mpImplFont->maBkgColor = rColor;
- if () */
-}
-
-
void Font::SetTransparent( bool bTransparent )
{
@@ -970,8 +961,6 @@ const Color& Font::GetColor() const { return mpImplFont->maColor; }
const Color& Font::GetFillColor() const { return mpImplFont->maFillColor; }
-const Color& Font::GetBackgroundColor() const { /*return mpImplFont->maBkgColor;*/ }
-
bool Font::IsTransparent() const { return mpImplFont->mbTransparent; }
FontAlign Font::GetAlign() const { return mpImplFont->meAlign; }
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 3fd6500f7951..7b955666f068 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -742,12 +742,6 @@ void OutputDevice::SetTextFillColor()
mpMetaFile->AddAction( new MetaTextFillColorAction( Color(), false ) );
if ( maFont.GetColor() != Color( COL_TRANSPARENT ) ) {
- // FIXME(matteocam)
- Color aColor = maFont.GetColor();
- if (aColor.GetRed() == 0x66) {
- fprintf(stderr, "OutputDevice::SetTextFillColor() changing blue to transparent\n ");
- }
- // end modified code
maFont.SetFillColor( Color( COL_TRANSPARENT ) );
}
if ( !maFont.IsTransparent() )
@@ -763,14 +757,6 @@ void OutputDevice::SetTextFillColor( const Color& rColor )
Color aColor( rColor );
bool bTransFill = ImplIsColorTransparent( aColor );
- // 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.GetGreen(), rColor.GetBlue());
- }
-
- // end modified code
-
if ( !bTransFill )
{
if ( mnDrawMode & ( DRAWMODE_BLACKFILL | DRAWMODE_WHITEFILL |
@@ -966,12 +952,6 @@ void OutputDevice::DrawTextArray( const Point& rStartPt, const OUString& rStr,
const sal_Int32* pDXAry,
sal_Int32 nIndex, sal_Int32 nLen )
{
- if ( maFont.IsTransparent() )
- fprintf(stderr, "[Actually transparent font] Real color = %x\n", maFont.GetFillColor().GetColor() );
- fprintf(stderr, "TextFillColor printing %c is %x\n",
- (char) rStr.toChar(),
- GetTextFillColor().GetColor());
-
if(nLen == 0x0FFFF)
{
SAL_INFO("sal.rtl.xub",