summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-10 01:03:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-11 09:05:05 +0100
commit0e3e30c57e74be7cb9d8263f2abdde1cfd1d5c84 (patch)
tree2b69e9769bfecb1c2cc75bacaa1d171e08939e1f /svtools
parent403f458b9511230801c2b26bfeb29d9f3f939094 (diff)
remove unused and archaic ImpPolarToCart
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/mcvmath.cxx17
-rw-r--r--svtools/source/dialogs/mcvmath.hxx2
-rw-r--r--svtools/source/filter/sgfbram.cxx12
-rw-r--r--svtools/source/filter/sgvtext.cxx16
4 files changed, 0 insertions, 47 deletions
diff --git a/svtools/source/dialogs/mcvmath.cxx b/svtools/source/dialogs/mcvmath.cxx
index 5d5ad14c82c2..0d2407493c53 100644
--- a/svtools/source/dialogs/mcvmath.cxx
+++ b/svtools/source/dialogs/mcvmath.cxx
@@ -271,21 +271,4 @@ void ImpCartToPolar( const short x, const short y, Fix& rRad, sal_uInt16& rPhi )
}
}
-/**************************************************************************
-|*
-|* ImpPolarToCart()
-|*
-|* Beschreibung Koordinaaten-Wandlung
-|*
-**************************************************************************/
-
-void ImpPolarToCart( const Fix& rR, const sal_uInt16 Phi, short& rX, short& rY )
-{
- FixCpx fc = ImpExPI( Phi ); // calculate sin() & cos()
- fc.GetReal().MultBig( rR );
- rX = sal::static_int_cast< short >(long( fc.GetReal() ));
- fc.GetImag().MultBig( rR );
- rY = sal::static_int_cast< short >(long( fc.GetImag() ));
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/dialogs/mcvmath.hxx b/svtools/source/dialogs/mcvmath.hxx
index 5e0d47e655ef..8b8e9c67be12 100644
--- a/svtools/source/dialogs/mcvmath.hxx
+++ b/svtools/source/dialogs/mcvmath.hxx
@@ -220,8 +220,6 @@ Fix ImpMultBig2( const Fix& a, const Fix& b );
FixCpx ImpMultBig2( const FixCpx& ra, const FixCpx& rb );
void ImpCartToPolar( const short x, const short y, Fix& rRad, sal_uInt16& rPhi );
-void ImpPolarToCart( const Fix& rR, const sal_uInt16 Phi, short& rX, short& rY );
-
sal_uInt16 ImpSqrt( sal_uLong nRadi );
sal_uInt16 ImpATan2( const short x, const short y );
FixCpx ImpExPI( sal_uInt16 nPhi );
diff --git a/svtools/source/filter/sgfbram.cxx b/svtools/source/filter/sgfbram.cxx
index 8559cbee30eb..0ba3c5ed5833 100644
--- a/svtools/source/filter/sgfbram.cxx
+++ b/svtools/source/filter/sgfbram.cxx
@@ -561,18 +561,6 @@ sal_Bool SgfVectFilter(SvStream& rInp, GDIMetaFile& rMtf)
return(bRet);
}
-
-/*************************************************************************
-|*
-|* SgfFilterPScr()
-|*
-*************************************************************************/
-sal_Bool SgfFilterPScr(SvStream&, SgfHeader&, SgfEntry&)
-{
- return sal_False; // PostSrcipt wird noch nicht unterstuetzt !
-}
-
-
/*************************************************************************
|*
|* CheckSgfTyp()
diff --git a/svtools/source/filter/sgvtext.cxx b/svtools/source/filter/sgvtext.cxx
index ddda27f2efa2..3409652cf309 100644
--- a/svtools/source/filter/sgvtext.cxx
+++ b/svtools/source/filter/sgvtext.cxx
@@ -235,23 +235,7 @@ short hPoint2Sgf(short a)
return short(b);
}
-short Sgf2hPoint(short a)
-{
- long b;
- b=long(a)*5*144/(127*SgfDpmm);
- return short(b);
-}
-
// End of Misc.Pas
-/////////////////////////////////////////////////////////////////////////////////
-/////////////////////////////////////////////////////////////////////////////////
-/////////////////////////////////////////////////////////////////////////////////
-
-
-
-/////////////////////////////////////////////////////////////////////////////////
-/////////////////////////////////////////////////////////////////////////////////
-/////////////////////////////////////////////////////////////////////////////////
// AbsRead.Pas
// ======================================================================