summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-08 11:48:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-08 13:04:46 +0100
commit3e6613964f10ff10b71188293a2e4d4d1b29944c (patch)
treecfd265d1b3cff3a95c0da251a6c12951bf261913 /svx/source
parent135a208ba217d9b8ff13f47eab552c8ddfaec01a (diff)
callcatcher: remove unused methods
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svdotext.cxx28
-rw-r--r--svx/source/xoutdev/_xpoly.cxx49
2 files changed, 0 insertions, 77 deletions
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index b6d2d1c613c4..c7222a9e433a 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -198,34 +198,6 @@ SdrTextObj::SdrTextObj(SdrObjKind eNewTextKind, const Rectangle& rNewRect)
mbSupportTextIndentingOnLineWidthChange = sal_True;
}
-SdrTextObj::SdrTextObj(SdrObjKind eNewTextKind, const Rectangle& rNewRect, SvStream& rInput, const String& rBaseURL, sal_uInt16 eFormat)
-: SdrAttrObj(),
- aRect(rNewRect),
- mpText(NULL),
- pEdtOutl(NULL),
- pFormTextBoundRect(NULL),
- eTextKind(eNewTextKind)
-{
- bTextSizeDirty=sal_False;
- bTextFrame=sal_True;
- bNoShear=sal_True;
- bNoRotate=sal_False;
- bNoMirror=sal_True;
- bDisableAutoWidthOnDragging=sal_False;
- ImpJustifyRect(aRect);
-
- NbcSetText(rInput, rBaseURL, eFormat);
-
- mbInEditMode = sal_False;
- mbTextHidden = sal_False;
- mbTextAnimationAllowed = sal_True;
- mbInDownScale = sal_False;
- maTextEditOffset = Point(0, 0);
-
- // #i25616#
- mbSupportTextIndentingOnLineWidthChange = sal_True;
-}
-
SdrTextObj::~SdrTextObj()
{
if( pModel )
diff --git a/svx/source/xoutdev/_xpoly.cxx b/svx/source/xoutdev/_xpoly.cxx
index 0a40750abf3c..0c9d7a229535 100644
--- a/svx/source/xoutdev/_xpoly.cxx
+++ b/svx/source/xoutdev/_xpoly.cxx
@@ -1004,55 +1004,6 @@ void XPolygon::PointsToBezier(sal_uInt16 nFirst)
/*************************************************************************
|*
-|* XPolygon::Rotate()
-|*
-|* Alle Punkte um den Punkt rCenter drehen, Sinus und Cosinus
-|* muessen uebergeben werden
-|*
-*************************************************************************/
-
-void XPolygon::Rotate(const Point& rCenter, double fSin, double fCos)
-{
- pImpXPolygon->CheckPointDelete();
- CheckReference();
-
- long nX;
- long nY;
- long nNewX;
- long nNewY;
- long nCenterX = rCenter.X();
- long nCenterY = rCenter.Y();
-
- sal_uInt16 nPntCnt = pImpXPolygon->nPoints;
-
- for (sal_uInt16 i = 0; i < nPntCnt; i++)
- {
- Point *pPt = &(pImpXPolygon->pPointAry[i]);
- nX = pPt->X()-nCenterX;
- nY = pPt->Y()-nCenterY;
- nNewX = (long)floor(fCos * nX + fSin * nY + 0.5);
- nNewY = -(long)floor(fSin * nX - fCos * nY + 0.5);
- pPt->X() = nNewX + nCenterX;
- pPt->Y() = nNewY + nCenterY;
-
- /* und so stand das in einem anderen File auf T:
- dass ich am 29-11-1995 gegettet habe. Joe M.
- sal_uInt16 nPntCnt = pImpXPolygon->nPoints;
-
- for (sal_uInt16 i = 0; i < nPntCnt; i++)
- {
- Point P = pImpXPolygon->pPointAry[i] - rCenter;
- long X = P.X();
- long Y = P.Y();
- P.X() = (long)floor(fCos * X + fSin * Y + 0.5);
- P.Y() = -(long)floor(fSin * X - fCos * Y + 0.5);
- pImpXPolygon->pPointAry[i] = P + rCenter;
- */
- }
-}
-
-/*************************************************************************
-|*
|* XPolygon::Scale()
|*
|* XPolygon in X- und/oder Y-Richtung skalieren