[Libreoffice-commits] .: binfilter/bf_sw hwpfilter/source lotuswordpro/source
Thomas Arnhold
tarnhold at kemper.freedesktop.org
Sat Jan 22 05:47:55 PST 2011
binfilter/bf_sw/source/core/docnode/sw_node.cxx | 43 -----
binfilter/bf_sw/source/core/docnode/sw_nodes.cxx | 103 -------------
binfilter/bf_sw/source/core/layout/sw_sectfrm.cxx | 3
binfilter/bf_sw/source/core/layout/sw_ssfrm.cxx | 6
binfilter/bf_sw/source/core/layout/sw_tabfrm.cxx | 5
binfilter/bf_sw/source/core/txtnode/sw_fntcache.cxx | 15 --
binfilter/bf_sw/source/core/view/sw_scrrect.cxx | 97 -------------
hwpfilter/source/drawdef.h | 6
hwpfilter/source/drawing.h | 148 --------------------
hwpfilter/source/himgutil.h | 10 -
hwpfilter/source/htags.cpp | 9 -
hwpfilter/source/htags.h | 9 -
hwpfilter/source/hwpeq.h | 9 -
hwpfilter/source/mzstring.cpp | 7
lotuswordpro/source/filter/lwpsdwdrawheader.hxx | 4
lotuswordpro/source/filter/lwpshadow.hxx | 4
16 files changed, 1 insertion(+), 477 deletions(-)
New commits:
commit 673943061d576b9d2d56b140b19080e800215f9d
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Sat Jan 22 14:15:06 2011 +0100
Remove some dead code.
diff --git a/binfilter/bf_sw/source/core/docnode/sw_node.cxx b/binfilter/bf_sw/source/core/docnode/sw_node.cxx
index 5cfb822..cf62e91 100644
--- a/binfilter/bf_sw/source/core/docnode/sw_node.cxx
+++ b/binfilter/bf_sw/source/core/docnode/sw_node.cxx
@@ -68,32 +68,6 @@ using namespace ::com::sun::star::i18n;
/*******************************************************************
|*
-|* SwNode::GetSectionLevel
-|*
-|* Beschreibung
-|* Die Funktion liefert den Sectionlevel an der durch
-|* aIndex bezeichneten Position.
-|*
-|* Die Logik ist wie folgt: ( S -> Start, E -> End, C -> CntntNode)
-|* Level 0 E
-|* 1 S E
-|* 2 SC
-|*
-|* alle EndNodes der GrundSection haben den Level 0
-|* alle StartNodes der GrundSection haben den Level 1
-|*
-|* Ersterstellung
-|* VER0100 vb 901214
-|*
-|* Aenderung: JP 11.08.93
-|* keine Rekursion mehr !!
-|*
-*******************************************************************/
-
-
-
-/*******************************************************************
-|*
|* SwNode::SwNode
|*
|* Beschreibung
@@ -112,12 +86,6 @@ using namespace ::com::sun::star::i18n;
|* rWhere bezeichnet die Position innerhalb dieses Arrays,
|* an der der Node eingefuegt werden soll
|*
-|* Ersterstellung
-|* VER0100 vb 901214
-|*
-|* Stand
-|* VER0100 vb 901214
-|*
*******************************************************************/
@@ -388,11 +356,6 @@ using namespace ::com::sun::star::i18n;
|* IN
|* rNodes bezeichnet das variable Array, in dem sich der Node
|* befindet
-|* Ersterstellung
-|* VER0100 vb 901214
-|*
-|* Stand
-|* VER0100 vb 901214
|*
*******************************************************************/
@@ -447,12 +410,6 @@ using namespace ::com::sun::star::i18n;
|* !!!!!!!!!!!!
|* Es wird eine Kopie uebergeben!
|*
-|* Ersterstellung
-|* VER0100 vb 901214
-|*
-|* Stand
-|* VER0100 vb 901214
-|*
*******************************************************************/
diff --git a/binfilter/bf_sw/source/core/docnode/sw_nodes.cxx b/binfilter/bf_sw/source/core/docnode/sw_nodes.cxx
index 4101b97..981d57a 100644
--- a/binfilter/bf_sw/source/core/docnode/sw_nodes.cxx
+++ b/binfilter/bf_sw/source/core/docnode/sw_nodes.cxx
@@ -112,12 +112,6 @@ namespace binfilter {
|* Arrays nicht erzeugt werden koennen und somit auch nicht
|* in mehreren drin sein koennen
|*
-|* Ersterstellung
-|* VER0100 vb 901214
-|*
-|* Stand
-|* VER0100 vb 901214
-|*
*******************************************************************/
/*N*/ SwNodes::~SwNodes()
@@ -180,12 +174,6 @@ namespace binfilter {
|* die Debugging Tools geben rRange beim Eintritt und beim
|* Verlassen der Funktion aus
|*
-|* Ersterstellung
-|* VER0100 vb 901214
-|*
-|* Stand
-|* VER0100 vb 901214
-|*
*******************************************************************/
/*N*/ void SwNodes::SectionDown(SwNodeRange *pRange, SwStartNodeType eSttNdTyp )
/*N*/ {
@@ -227,45 +215,6 @@ namespace binfilter {
/*N*/ SectionUpDown( aTmpIdx, pRange->aEnd );
/*N*/ }
-/*******************************************************************
-|*
-|* SwNodes::SectionUp
-|*
-|* Beschreibung
-|* Der von rRange umspannte Bereich wird auf die naechst hoehere
-|* Ebene gehoben. Das geschieht dadurch, dass bei
-|* rRange.aStart ein Endnode und bei rRange.aEnd ein
-|* Startnode eingefuegt wird. Die Indices fuer den Bereich
-|* innerhalb von rRange werden geupdated.
-|*
-|* Allg.: aRange beschreibt den Bereich -exklusive- aEnd !!
-|* ( 1.Node: aStart, letzer Node: aEnd-1 !! )
-|*
-|* Parameter
-|* SwRange &rRange
-|* IO:
-|* IN
-|* rRange.aStart: Anfang des hoeher zubewegenden Bereiches
-|* rRange.aEnd: der 1.Node hinter dem Bereich
-|* OUT
-|* rRange.aStart: an der ersten Position innerhalb des
-|* hochbewegten Bereiches
-|* rRange.aEnd: an der letzten Position innerhalb des
-|* hochbewegten Bereiches
-|*
-|* Debug-Funktionen
-|* die Debugging Tools geben rRange beim Eintritt und beim
-|* Verlassen der Funktion aus
-|*
-|* Ersterstellung
-|* VER0100 vb 901214
-|*
-|* Stand
-|* VER0100 vb 901214
-|*
-*******************************************************************/
-
-
/*************************************************************************
|*
|* SwNodes::SectionUpDown()
@@ -347,12 +296,6 @@ namespace binfilter {
|* geben beim Eintritt in die Funktion Position und Anzahl
|* der zu loeschenden Nodes aus.
|*
-|* Ersterstellung
-|* VER0100 vb 901214
-|*
-|* Stand
-|* VER0100 vb 901214
-|*
*******************************************************************/
/*N*/ void SwNodes::Delete(const SwNodeIndex &rIndex, ULONG nNodes)
/*N*/ {
@@ -549,12 +492,6 @@ namespace binfilter {
|* eine Sonderbehandlung; es wird davon ausgegangen, dass der
|* erste Node auch ein Startnode ist.
|*
-|* Ersterstellung
-|* VER0100 vb 901214
-|*
-|* Stand
-|* VER0100 vb 901214
-|*
*******************************************************************/
/*N*/ void SwNodes::GoStartOfSection(SwNodeIndex* /*pIdx*/) const
@@ -755,35 +692,6 @@ namespace binfilter {
/*************************************************************************
|*
-|* USHORT HighestLevel( SwNodes & rNodes, const SwNodeRange & rRange )
-|*
-|* Beschreibung
-|* Berechne den hoehsten Level innerhalb des Bereiches
-|*
-|* Parameter SwNodes & das Node-Array
-|* SwNodeRange & der zu ueberpruefende Bereich
-|* Return USHORT der hoechste Level
-|*
-*************************************************************************/
-
-
-
-
-/*************************************************************************
-|*
-|* SwNodes::Move()
-|*
-|* Beschreibung
-|* Parameter SwPaM& zu kopierender Bereich
-|* SwNodes& in dieses Nodes-Array
-|* SwPosition& auf diese Position im Nodes-Array
-|*
-*************************************************************************/
-
-
-
-/*************************************************************************
-|*
|* SwNodes::_Copy()
|*
|* Beschreibung
@@ -949,17 +857,6 @@ namespace binfilter {
/*N*/ break;
/*N*/
/*N*/ case ND_SECTIONDUMMY:
- /*if( (const SwNodes*)this == GetDoc()->GetUndoNds() )
- {
- // dann muss an der akt. InsPos auch ein SectionNode
- // (Start/Ende) stehen; dann diesen ueberspringen.
- // Andernfalls nicht weiter beachten.
- SwNode* pTmpNd = pDoc->GetNodes()[ aInsPos ];
- if( pTmpNd->IsSectionNode() ||
- pTmpNd->FindStartNode()->IsSectionNode() )
- aInsPos++; // ueberspringen
- }
- else */
ASSERT( FALSE, "wie kommt diser Node ins Nodes-Array??" );
break;
diff --git a/binfilter/bf_sw/source/core/layout/sw_sectfrm.cxx b/binfilter/bf_sw/source/core/layout/sw_sectfrm.cxx
index bad6198..e587726 100644
--- a/binfilter/bf_sw/source/core/layout/sw_sectfrm.cxx
+++ b/binfilter/bf_sw/source/core/layout/sw_sectfrm.cxx
@@ -632,9 +632,6 @@ namespace binfilter {
*
* SwSectionFrm::CollectEndnotes( )
*
- * Ersterstellung AMA 03. Nov 99
- * Letzte Aenderung AMA 03. Nov 99
- *
* CollectEndnotes looks for endnotes in the sectionfrm and his follows,
* the endnotes will cut off the layout and put into the array.
* If the first endnote is not a master-SwFtnFrm, the whole sectionfrm
diff --git a/binfilter/bf_sw/source/core/layout/sw_ssfrm.cxx b/binfilter/bf_sw/source/core/layout/sw_ssfrm.cxx
index b7ad7a1..d9e7701 100644
--- a/binfilter/bf_sw/source/core/layout/sw_ssfrm.cxx
+++ b/binfilter/bf_sw/source/core/layout/sw_ssfrm.cxx
@@ -456,9 +456,6 @@ namespace binfilter {
|*
|* SwFrm::PaintArea()
|*
-|* Created AMA 08/22/2000
-|* Last change AMA 08/23/2000
-|*
|* The paintarea is the area, in which the content of a frame is allowed
|* to be displayed. This region could be larger than the printarea (Prt())
|* of the upper, it includes e.g. often the margin of the page.
@@ -543,9 +540,6 @@ namespace binfilter {
|*
|* SwFrm::UnionFrm()
|*
-|* Created AMA 08/22/2000
-|* Last change AMA 08/23/2000
-|*
|* The unionframe is the framearea (Frm()) of a frame expanded by the
|* printarea, if there's a negative margin at the left or right side.
|*
diff --git a/binfilter/bf_sw/source/core/layout/sw_tabfrm.cxx b/binfilter/bf_sw/source/core/layout/sw_tabfrm.cxx
index 476f9a8..9a591b7 100644
--- a/binfilter/bf_sw/source/core/layout/sw_tabfrm.cxx
+++ b/binfilter/bf_sw/source/core/layout/sw_tabfrm.cxx
@@ -1024,8 +1024,6 @@ namespace binfilter {
|*
|* Beschreibung: Berechnet die Offsets, die durch FlyFrames
|* entstehen.
-|* Ersterstellung MA/MIB 14. Apr. 99
-|* Letzte Aenderung
|*
|*************************************************************************/
/*N*/ BOOL SwTabFrm::CalcFlyOffsets( SwTwips& rUpper,
@@ -1937,9 +1935,6 @@ namespace binfilter {
|*
|* SwTabFrm::Prepare()
|*
-|* Created AMA 01/10/02
-|* Last Change AMA 01/10/02
-|*
|*************************************************************************/
/*N*/ void SwTabFrm::Prepare( const PrepareHint eHint, const void *, BOOL )
/*N*/ {
diff --git a/binfilter/bf_sw/source/core/txtnode/sw_fntcache.cxx b/binfilter/bf_sw/source/core/txtnode/sw_fntcache.cxx
index 3de01b8..b9d627d 100644
--- a/binfilter/bf_sw/source/core/txtnode/sw_fntcache.cxx
+++ b/binfilter/bf_sw/source/core/txtnode/sw_fntcache.cxx
@@ -149,9 +149,6 @@ extern USHORT UnMapDirection( USHORT nDir, const BOOL bVertFormat );
*
* USHORT SwFntObj::GetAscent( const OutputDevice *pOut )
*
- * Ersterstellung AMA 7. Nov. 94
- * Letzte Aenderung AMA 7. Nov. 94
- *
* Beschreibung: liefern den Ascent des Fonts auf dem
* gewuenschten Outputdevice zurueck, ggf. muss der Bildschirmfont erst
* erzeugt werden.
@@ -223,9 +220,6 @@ extern USHORT UnMapDirection( USHORT nDir, const BOOL bVertFormat );
*
* SwFntObj::CreateScrFont( const ViewShell *pSh, const OutputDevice& rOut )
*
- * Ersterstellung AMA 7. Nov. 94
- * Letzte Aenderung AMA 7. Nov. 94
- *
* pOut is the output device, not the reference device
*
*************************************************************************/
@@ -305,9 +299,6 @@ extern USHORT UnMapDirection( USHORT nDir, const BOOL bVertFormat );
*
* void SwFntObj::SetDeviceFont( const OutputDevice *pOut ),
*
- * Ersterstellung AMA 7. Nov. 94
- * Letzte Aenderung AMA 7. Nov. 94
- *
* Beschreibung: stellt den Font am gewuenschten OutputDevice ein,
* am Bildschirm muss eventuell erst den Abgleich durchgefuehrt werden.
*
@@ -360,9 +351,6 @@ extern USHORT UnMapDirection( USHORT nDir, const BOOL bVertFormat );
*
* void SwFntObj::DrawText( ... )
*
- * Ersterstellung AMA 16. Dez. 94
- * Letzte Aenderung AMA 16. Dez. 94
- *
* Beschreibung: Textausgabe
* auf dem Bildschirm => DrawTextArray
* auf dem Drucker, !Kerning => DrawText
@@ -396,9 +384,6 @@ extern USHORT UnMapDirection( USHORT nDir, const BOOL bVertFormat );
* Size SwFntObj::GetTextSize( const OutputDevice *pOut, const String &rTxt,
* const USHORT nIdx, const USHORT nLen, const short nKern = 0 );
*
- * Ersterstellung AMA 16. Dez. 94
- * Letzte Aenderung AMA 16. Dez. 94
- *
* Beschreibung: ermittelt die TextSize (des Druckers)
*
*************************************************************************/
diff --git a/binfilter/bf_sw/source/core/view/sw_scrrect.cxx b/binfilter/bf_sw/source/core/view/sw_scrrect.cxx
index 1be5833..f4bcfb5 100644
--- a/binfilter/bf_sw/source/core/view/sw_scrrect.cxx
+++ b/binfilter/bf_sw/source/core/view/sw_scrrect.cxx
@@ -46,9 +46,6 @@ namespace binfilter {
|*
|* ViewShell::AddScrollRect()
|*
-|* Creation MA 07. Mar. 94
-|* Last change AMA 20. July 00
-|*
|* Description
|* ViewShell::AddScrollRect(..) passes a registration from a scrolling frame or
|* rectangle to all ViewShells and SwViewImps respectively.
@@ -83,9 +80,6 @@ namespace binfilter {
|*
|* ViewShell::Scroll()
|*
-|* Ersterstellung MA 07. Mar. 94
-|* Last change AMA 21. July 00
-|*
|* Description
|* ViewShell::Scroll() scrolls all rectangles in the pScrollRects-list and
|* transfers the critical lines by calling SwViewImp::MoveScrollArea(..).
@@ -116,9 +110,6 @@ namespace binfilter {
|*
|* SwViewImp::AddScrollRect()
|*
-|* Ersterstellung MA 07. Mar. 94
-|* Last change AMA 21. July 00
-|*
|* Adds a scrollable rectangle and his critical lines to the list.
|*
******************************************************************************/
@@ -143,50 +134,8 @@ namespace binfilter {
/******************************************************************************
|*
-|* SwViewImp::MoveScrollArea()
-|*
-|* Creation AMA 10. July 00
-|* Last change AMA 21. July 00
-|*
-|* Transfers the areas after scrolling to the scrolled list, but only those
-|* parts with critical lines.
-|*
-******************************************************************************/
-
-
-/******************************************************************************
-|*
-|* SwViewImp::FlushScrolledArea()
-|*
-|* Creation AMA 10. July 00
-|* Last change AMA 21. July 00
-|*
-|* Flushes the scrolled critical lines, that is transfer them to AddPaintRect()
-|* and remove them from the list.
-|*
-******************************************************************************/
-
-
-/******************************************************************************
-|*
-|* SwViewImp::_FlushScrolledArea(..)
-|*
-|* Creation AMA 10. July 00
-|* Last change AMA 21. July 00
-|*
-|* The critical lines, which overlaps with the given rectangle, will be united
-|* with the rectangle and removed from the list.
-|*
-******************************************************************************/
-
-
-/******************************************************************************
-|*
|* SwViewImp::RefreshScrolledHdl(..)
|*
-|* Creation MA 06. Oct. 94
-|* Last change AMA 21. July 00
-|*
|* Every timerstop one of the critical lines will be painted.
|*
******************************************************************************/
@@ -196,52 +145,6 @@ namespace binfilter {
{DBG_BF_ASSERT(0, "STRIP");} return 0;
/*N*/ }
-/******************************************************************************
-|*
-|* SwViewImp::_ScrolledRect(..)
-|*
-|* Creation AMA 20. July 00
-|* Last change AMA 21. July 00
-|*
-|* handles the problem of scrolled criticals lines, when they are a part of
-|* a scrolling area again. In this case, their rectangle has to move to the
-|* right position.
-|*
-******************************************************************************/
-
-
-/******************************************************************************
-|*
-|* SwViewImp::_RefreshScrolledArea()
-|*
-******************************************************************************/
-
-//Berechnen der Hoehe fuer das virtuelle Device, Breite und maximaler
-//Speicherbedarf sind vorgegeben.
-#define MAXKB 180L
-
-
-
-/******************************************************************************
-|*
-|* SwViewImp::RefreshScrolledArea()
-|*
-******************************************************************************/
-
-
-
-
-
-
-/******************************************************************************
-|*
-|* SwScrollAreas::Insert(..)
-|*
-******************************************************************************/
-
-
-
-
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/drawdef.h b/hwpfilter/source/drawdef.h
index 66d2d7c..6744427 100644
--- a/hwpfilter/source/drawdef.h
+++ b/hwpfilter/source/drawdef.h
@@ -26,12 +26,6 @@
*
************************************************************************/
-/* NAME $Id: drawdef.h,v 1.5 2008-04-10 11:58:04 rt Exp $
- *
- * HISTORY
- * frog - Jan 11, 1999: Created.
- */
-
#ifndef _DRAWDEF_H_
#define _DRAWDEF_H_
diff --git a/hwpfilter/source/drawing.h b/hwpfilter/source/drawing.h
index 5f878e6..9a9e797 100644
--- a/hwpfilter/source/drawing.h
+++ b/hwpfilter/source/drawing.h
@@ -29,14 +29,6 @@
#ifndef _DRAWING_H_
#define _DRAWING_H_
-/* NAME
- *
- * NOTES
- *
- * HISTORY
- * frog - Jan 11, 1999: Created.
- * frog - Nov 20, 2000: remove display function, only needed loading object from binary
- */
#include "precompile.h"
#include <math.h>
@@ -193,10 +185,6 @@ static bool SkipUnusedField(void)
#define HDOFILE_HAS_NEXT 0x01
#define HDOFILE_HAS_CHILD 0x02
-/**
- * °øÅë Çì´õ¸¦ Àоîµå¸°´Ù.
- * °³Ã¼Á¾·ù/¿¬°áÁ¤º¸/»ó´ëÀ§Ä¡/°³Ã¼Å©±â/Àý´ëÀ§Ä¡/Â÷Áö¿µ¿ª/±âº»¼Ó¼º/ȸÀü¼Ó¼º/±×¶óµ¥À̼Ç/ºñÆ®¸ÊÆÐÅÏ
- */
static bool LoadCommonHeader(HWPDrawingObject * hdo, WORD * link_info)
{
uint size, property_size, common_size;
@@ -432,85 +420,6 @@ HWPDODefaultFunc(int , HWPDrawingObject * , int cmd, void *, int)
}
-// arrow polygon
-
-/* os 06.09.2005: unused function
-static void
-calcArrowPolygonPts(long lWidth, ZZPoint * arrowPt,
-ZZPoint * boxPt, int x1, int y1, int x2, int y2)
-{
- long lLength = lWidth;
- int dx, dy;
-
-#if 0
- if (gc->lineWidth > ONE_MILI)
- lWidth = lLength = DRPX2(gc->lineWidth) * 2;
- else
- lWidth = lLength = DRPX2(ARROW_WIDTH);
-#endif
-
- dx = x1 - x2;
- dy = y1 - y2;
-
- if (dx == 0)
- {
- arrowPt[0].x = x1;
- boxPt[3].x = boxPt[0].x = arrowPt[1].x = x1 + lWidth;
- boxPt[2].x = boxPt[1].x = arrowPt[2].x = x1 - lWidth;
- if (y1 > y2)
- {
- boxPt[2].y = boxPt[3].y = y1 + lLength * 2 / 3;
- arrowPt[0].y = y1 + lLength * 3 / 2;
- boxPt[0].y = boxPt[1].y = arrowPt[1].y = arrowPt[2].y = y1 - lLength;
- }
- else
- {
- boxPt[0].y = boxPt[1].y = y1 - lLength * 2 / 3;
- arrowPt[0].y = y1 - lLength * 3 / 2;
- boxPt[2].y = boxPt[3].y = arrowPt[1].y = arrowPt[2].y = y1 + lLength;
- }
- return;
- }
-
- double rSlope, rRadians;
- long DX1, DY1, DX2, DY2;
-
- rSlope = (double) dy / (double) dx;
- rRadians = atan(rSlope);
- DX1 = (long) (lLength * cos(rRadians) + 0.5);
- DY1 = (long) (lLength * sin(rRadians) + 0.5);
- DX2 = (long) (lWidth * sin(rRadians) + 0.5);
- DY2 = (long) (lWidth * cos(rRadians) + 0.5);
-
- if (dx > 0)
- {
- arrowPt[0].x = (int) (x1 + cos(rRadians) * lLength * 3 / 2);
- arrowPt[0].y = (int) (y1 + sin(rRadians) * lLength * 3 / 2);
- boxPt[0].x = arrowPt[1].x = x1 - DX1 - DX2;
- boxPt[0].y = arrowPt[1].y = y1 - DY1 + DY2;
- boxPt[1].x = arrowPt[2].x = x1 - DX1 + DX2;
- boxPt[1].y = arrowPt[2].y = y1 - DY1 - DY2;
- boxPt[2].x = arrowPt[0].x - DX1 + DX2;
- boxPt[2].y = arrowPt[0].y - DY1 - DY2;
- boxPt[3].x = arrowPt[0].x - DX1 - DX2;
- boxPt[3].y = arrowPt[0].y - DY1 + DY2;
- }
- else
- {
- arrowPt[0].x = (int) (x1 - cos(rRadians) * lLength * 3 / 2);
- arrowPt[0].y = (int) (y1 - sin(rRadians) * lLength * 3 / 2);
- boxPt[0].x = arrowPt[1].x = x1 + DX1 - DX2;
- boxPt[0].y = arrowPt[1].y = y1 + DY1 + DY2;
- boxPt[1].x = arrowPt[2].x = x1 + DX1 + DX2;
- boxPt[1].y = arrowPt[2].y = y1 + DY1 - DY2;
- boxPt[3].x = arrowPt[0].x + DX1 - DX2;
- boxPt[3].y = arrowPt[0].y + DY1 + DY2;
- boxPt[2].x = arrowPt[0].x + DX1 + DX2;
- boxPt[2].y = arrowPt[0].y + DY1 - DY2;
- }
-}
-*/
-
static int
HWPDOLineFunc(int type, HWPDrawingObject * hdo, int cmd, void *argp, int argv)
{
@@ -580,7 +489,6 @@ int cmd, void *argp, int argv)
static int
HWPDOArcFunc(int type, HWPDrawingObject * hdo, int cmd, void *argp, int argv)
{
-// TRACE("arc");
switch (cmd)
{
case OBJFUNC_LOAD:
@@ -602,7 +510,6 @@ HWPDOArcFunc(int type, HWPDrawingObject * hdo, int cmd, void *argp, int argv)
static int
HWPDOArc2Func(int type, HWPDrawingObject * hdo, int cmd, void *argp, int argv)
{
-// TRACE("arc2");
switch (cmd)
{
case OBJFUNC_LOAD:
@@ -614,56 +521,6 @@ HWPDOArc2Func(int type, HWPDrawingObject * hdo, int cmd, void *argp, int argv)
}
-// freeform
-
-#define SPLINE_NSTEP 100
-#define SPLINE_UNIT 20
-#define SPLINE_UNIT2 40
-#define SPLINE_UNIT3 60
-
-/* os 06.09.2005: unused function
-static int getBlend(int alpha)
-{
- static bool first = true;
- static char isCached[SPLINE_NSTEP];
- static int blend[SPLINE_NSTEP];
- double ntheta;
-
- if (first)
- {
- memset(isCached, 0, sizeof(char) * SPLINE_NSTEP);
-
- first = FALSE;
- }
- if ((alpha < -SPLINE_UNIT2) || (alpha > SPLINE_UNIT2))
- return 0;
-
- if (!isCached[alpha + SPLINE_UNIT2])
- {
- isCached[alpha + SPLINE_UNIT2] = TRUE;
- ntheta = (double) alpha / SPLINE_UNIT;
-
- if ((alpha < -SPLINE_UNIT) || (alpha > SPLINE_UNIT))
- {
- ntheta = (ntheta > 1) ? (2 - ntheta) : (2 + ntheta);
- blend[alpha + SPLINE_UNIT2] =
- (int) (1000 * ntheta * ntheta * ntheta / 6.);
- }
- else if (alpha <= 0)
- blend[alpha + SPLINE_UNIT2] =
- (int) (1000 *
- (4 - 6 * ntheta * ntheta -
- 3 * ntheta * ntheta * ntheta) / 6);
- else
- blend[alpha + SPLINE_UNIT2] =
- (int) (1000 *
- (4 - 6 * ntheta * ntheta +
- 3 * ntheta * ntheta * ntheta) / 6);
- }
- return blend[alpha + SPLINE_UNIT2];
-}
-*/
-
static int
HWPDOFreeFormFunc(int type, HWPDrawingObject * hdo,
int cmd, void *argp, int argv)
@@ -751,9 +608,6 @@ static int
HWPDOTextBoxFunc(int type, HWPDrawingObject * hdo,
int cmd, void *argp, int argv)
{
-// TRACE("textbox");
-// hunit sx, sy, xs, ys;
-
switch (cmd)
{
case OBJFUNC_LOAD:
@@ -785,8 +639,6 @@ int cmd, void *argp, int argv)
}
-/* HWPDrawObject ¸â¹ö ÇÔ¼ö */
-
HWPDrawingObject::HWPDrawingObject()
{
memset(this, 0, sizeof(HWPDrawingObject));
diff --git a/hwpfilter/source/himgutil.h b/hwpfilter/source/himgutil.h
index 7064094..6222a35 100644
--- a/hwpfilter/source/himgutil.h
+++ b/hwpfilter/source/himgutil.h
@@ -26,16 +26,6 @@
*
************************************************************************/
-/* NAME $Id: himgutil.h,v 1.4 2008-06-04 09:58:33 vg Exp $
- * PURPOSE
- * WIN32 µîÀÇ xv image ¶óÀ̺귯¸®°¡ ¾ø´Â °æ¿ì,
- * À̹ÌÁö ÆÄÀÏÀÇ Çü½ÄÀ» ¹ÝȯÇϴµ¥ »ç¿ëÇÑ´Ù.
- * NOTES
- *
- * HISTORY
- * frog - Dec 23, 1998: Created.
- */
-
#ifndef _HIMGUTIL_H_
#define _HIMGUTIL_H_
diff --git a/hwpfilter/source/htags.cpp b/hwpfilter/source/htags.cpp
index 5e05d75..b648a96 100644
--- a/hwpfilter/source/htags.cpp
+++ b/hwpfilter/source/htags.cpp
@@ -26,15 +26,6 @@
*
************************************************************************/
-/* NAME
- * PURPOSE
- *
- * NOTES
- *
- * HISTORY
- * frog - Aug 6, 1998: Created.
- */
-
#include "precompile.h"
#ifdef __GNUG__
diff --git a/hwpfilter/source/htags.h b/hwpfilter/source/htags.h
index 898426c..589d3be 100644
--- a/hwpfilter/source/htags.h
+++ b/hwpfilter/source/htags.h
@@ -26,15 +26,6 @@
*
************************************************************************/
-/* NAME $Id: htags.h,v 1.3 2008-04-10 12:08:00 rt Exp $
- * PURPOSE
- *
- * NOTES
- *
- * HISTORY
- * frog - Aug 6, 1998: Created.
- */
-
#ifndef _HTAGS_H_
#define _HTAGS_H_
diff --git a/hwpfilter/source/hwpeq.h b/hwpfilter/source/hwpeq.h
index c46f585..de1180a 100644
--- a/hwpfilter/source/hwpeq.h
+++ b/hwpfilter/source/hwpeq.h
@@ -26,15 +26,6 @@
*
************************************************************************/
-/* NAME $Id: hwpeq.h,v 1.3 2008-04-10 12:09:03 rt Exp $
- * PURPOSE
- *
- * NOTES
- *
- * HISTORY
- * frog - Sep 29, 1998: Created.
- */
-
#ifndef _HWPEQ_H_
#define _HWPEQ_H_
diff --git a/hwpfilter/source/mzstring.cpp b/hwpfilter/source/mzstring.cpp
index 76e7ebb..ee33def 100644
--- a/hwpfilter/source/mzstring.cpp
+++ b/hwpfilter/source/mzstring.cpp
@@ -26,13 +26,8 @@
*
************************************************************************/
-/* NAME $Id: mzstring.cpp,v 1.5 2008-06-04 10:02:20 vg Exp $
- * PURPOSE
+/* PURPOSE
* supposed to be used instead of std::string
- * NOTES
- *
- * HISTORY
- * frog - Oct 8, 1998: Created.
*/
#ifdef __GNUG__
diff --git a/lotuswordpro/source/filter/lwpsdwdrawheader.hxx b/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
index 2c78503..e766a4f 100644
--- a/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
+++ b/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
@@ -53,10 +53,6 @@
*
*
************************************************************************/
-/*****************************************************************************
- * Change History
- * Mar 2005 Created
- ****************************************************************************/
/**
* @file
* For LWP filter architecture prototype
diff --git a/lotuswordpro/source/filter/lwpshadow.hxx b/lotuswordpro/source/filter/lwpshadow.hxx
index ff179e1..94d930a 100644
--- a/lotuswordpro/source/filter/lwpshadow.hxx
+++ b/lotuswordpro/source/filter/lwpshadow.hxx
@@ -57,10 +57,6 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
-/*************************************************************************
- * Change History
- * 2005-01-13 Created
- ************************************************************************/
#ifndef _LWPSHADOW_HXX
#define _LWPSHADOW_HXX
More information about the Libreoffice-commits
mailing list