summaryrefslogtreecommitdiff
path: root/editeng
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 /editeng
parent2727a6dbf46fad3301ab0f24dce7da50976212f4 (diff)
Cleanup: removed comments and debugging output
Change-Id: I41f13d33da641153784725344f5bd526ca69542b
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editattr.cxx9
-rw-r--r--editeng/source/editeng/impedit3.cxx6
-rw-r--r--editeng/source/items/svxfont.cxx4
-rw-r--r--editeng/source/items/textitem.cxx2
4 files changed, 1 insertions, 20 deletions
diff --git a/editeng/source/editeng/editattr.cxx b/editeng/source/editeng/editattr.cxx
index 978958c2cd26..0f25267273a8 100644
--- a/editeng/source/editeng/editattr.cxx
+++ b/editeng/source/editeng/editattr.cxx
@@ -128,17 +128,8 @@ EditCharAttribUnderline::EditCharAttribUnderline( const SvxUnderlineItem& rAttr,
void EditCharAttribUnderline::SetFont( SvxFont& rFont, OutputDevice* pOutDev )
{
- Color aColor = RGB_COLORDATA(0x66,0x66, 0xFF); // blue-ish
-
rFont.SetUnderline( (FontUnderline)((const SvxUnderlineItem*)GetItem())->GetValue() );
- /* FIXME(matteocam) */
- rFont.SetFillColor(aColor);
- rFont.SetTransparent(false);
- //if (pOutDev)
- // pOutDev->SetTextFillColor(aColor); // this doesn't work either
- // end FIXME
-
if ( pOutDev )
pOutDev->SetTextLineColor( ((const SvxUnderlineItem*)GetItem())->GetColor() );
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 86a8090875c2..adbc9feb2628 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -3421,12 +3421,6 @@ void ImpEditEngine::Paint( OutputDevice* pOutDev, Rectangle aClipRect, Point aSt
' ' == aText[nTextStart + nTextLen - 1] )
--nTextLen;
- // FIXME(matteocam)
- if (aTmpFont.GetItalic() != ITALIC_NONE) {
- Color aColor = COL_BROWN;
- aTmpFont.SetFillColor(aColor);
- }
-
// output directly
aTmpFont.QuickDrawText( pOutDev, aRealOutPos, aText, nTextStart, nTextLen, pDXArray );
diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx
index 718675b01924..895eef60291c 100644
--- a/editeng/source/items/svxfont.cxx
+++ b/editeng/source/items/svxfont.cxx
@@ -457,10 +457,6 @@ void SvxFont::QuickDrawText( OutputDevice *pOut,
const sal_Int32 nIdx, const sal_Int32 nLen, const sal_Int32* pDXArray ) const
{
- fprintf(stderr, "About to print %s\n", rTxt.getStr());
-
-
-
// Font has to be selected in OutputDevice...
if ( !IsCaseMap() && !IsCapital() && !IsKern() && !IsEsc() )
{
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx
index ca4d0f72a8a7..9fd76b0d334e 100644
--- a/editeng/source/items/textitem.cxx
+++ b/editeng/source/items/textitem.cxx
@@ -122,7 +122,7 @@ TYPEINIT1_FACTORY(SvxWordLineModeItem, SfxBoolItem, new SvxWordLineModeItem(fals
TYPEINIT1_FACTORY(SvxContourItem, SfxBoolItem, new SvxContourItem(false, 0));
TYPEINIT1_FACTORY(SvxPropSizeItem, SfxUInt16Item, new SvxPropSizeItem(100, 0));
TYPEINIT1_FACTORY(SvxColorItem, SfxPoolItem, new SvxColorItem(0));
-// FIXME(matteocam): Should 2nd argoment of next line SfxColorItem or SfxPoolItem?
+// XXX: Should 2nd argoment of next line SfxColorItem or SfxPoolItem?
TYPEINIT1_FACTORY(SvxBackgroundColorItem, SvxColorItem, new SvxBackgroundColorItem(0));
TYPEINIT1_FACTORY(SvxCharSetColorItem, SvxColorItem, new SvxCharSetColorItem(0));
TYPEINIT1_FACTORY(SvxKerningItem, SfxInt16Item, new SvxKerningItem(0, 0));