diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-07-02 16:00:04 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-07-02 17:46:24 +0200 |
commit | 826861bc2aa666fadda41b51773871b84abd5c15 (patch) | |
tree | 10fee8a79eb37202985edad9987afd114419c2d2 | |
parent | 09b57f9ef6bb4482cb54bfece3de1f27c2d5367e (diff) |
Remove commented out code
PEN_SOLID isn't anymore, so this isn't working anyway.
Change-Id: I17e41dba889be909b7a3d41f39ab4409627bf61e
-rw-r--r-- | svtools/source/filter/sgvmain.cxx | 15 | ||||
-rw-r--r-- | sw/source/core/layout/pagedesc.cxx | 2 |
2 files changed, 0 insertions, 17 deletions
diff --git a/svtools/source/filter/sgvmain.cxx b/svtools/source/filter/sgvmain.cxx index c1ad1f625d78..cbad94039def 100644 --- a/svtools/source/filter/sgvmain.cxx +++ b/svtools/source/filter/sgvmain.cxx @@ -350,21 +350,6 @@ Color Sgv2SvFarbe(sal_uInt8 nFrb1, sal_uInt8 nFrb2, sal_uInt8 nInts) void SetLine(ObjLineType& rLine, OutputDevice& rOut) { -/* !!! - PenStyle aStyle=PEN_SOLID; - switch(rLine.LMuster & 0x07) { - case 0: aStyle=PEN_NULL; break; - case 1: aStyle=PEN_SOLID; break; - case 2: aStyle=PEN_DOT; break; // . . . . . . . . . . . . . . - case 3: aStyle=PEN_DASH; break; // __ __ __ __ __ __ __ __ __ - case 4: aStyle=PEN_DASH; break; // ___ ___ ___ ___ ___ ___ ___ - case 5: aStyle=PEN_DASHDOT; break; // __ . __ . __ . __ . __ . __ - case 6: aStyle=PEN_DASHDOT; break; // __ _ __ _ __ _ __ _ __ _ __ - case 7: aStyle=PEN_DASHDOT; break; // ___ _ _ ___ _ _ ___ _ _ ___ - } - Pen aPen(Sgv2SvFarbe(rLine.LFarbe,rLine.LBFarbe,rLine.LIntens),rLine.LDicke,aStyle); - SetPen(aPen,rOut); -*/ if( 0 == ( rLine.LMuster & 0x07 ) ) rOut.SetLineColor(); else diff --git a/sw/source/core/layout/pagedesc.cxx b/sw/source/core/layout/pagedesc.cxx index ae71cc8da7fb..42be36c849fb 100644 --- a/sw/source/core/layout/pagedesc.cxx +++ b/sw/source/core/layout/pagedesc.cxx @@ -385,7 +385,6 @@ void SwPageDesc::ChgFooterShareFirst( sal_Bool bNew ) SwPageFtnInfo::SwPageFtnInfo() : nMaxHeight( 0 ), -// aPen( PEN_SOLID ), nLineWidth(10), eLineStyle( editeng::SOLID ), aWidth( 25, 100 ), @@ -395,7 +394,6 @@ SwPageFtnInfo::SwPageFtnInfo() : eAdj = FRMDIR_HORI_RIGHT_TOP == GetDefaultFrameDirection(GetAppLanguage()) ? FTNADJ_RIGHT : FTNADJ_LEFT; -// aPen.SetWidth( 10 ); } |