summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorSzabolcs Dezsi <dezsiszabi@hotmail.com>2012-02-27 11:23:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-27 11:23:51 +0000
commit2b179ca1744d12630488619f948e5eb860e1fb41 (patch)
treeea71499aee7ec222439a731578cd409c1efda571 /filter
parentc58882fda80b63baac3360001b0fdf251d96e0eb (diff)
Removed unused code
Diffstat (limited to 'filter')
-rw-r--r--filter/inc/filter/msfilter/msdffimp.hxx2
-rw-r--r--filter/source/msfilter/msdffimp.cxx21
2 files changed, 0 insertions, 23 deletions
diff --git a/filter/inc/filter/msfilter/msdffimp.hxx b/filter/inc/filter/msfilter/msdffimp.hxx
index be40fda1fe8d..34183c59e45c 100644
--- a/filter/inc/filter/msfilter/msdffimp.hxx
+++ b/filter/inc/filter/msfilter/msdffimp.hxx
@@ -641,9 +641,7 @@ public:
void Scale(sal_Int32& rVal) const;
void Scale(Point& rPos) const;
void Scale(Size& rSiz) const;
- void Scale(Rectangle& rRect) const;
void Scale(Polygon& rPoly) const;
- void Scale(PolyPolygon& rPoly) const;
void ScaleEmu(sal_Int32& rVal) const;
sal_uInt32 ScalePt( sal_uInt32 nPt ) const;
sal_Int32 ScalePoint( sal_Int32 nVal ) const;
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index d70420f88c8c..713a99d86c9e 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -3265,18 +3265,6 @@ void SvxMSDffManager::Scale( Size& rSiz ) const
}
}
-void SvxMSDffManager::Scale( Rectangle& rRect ) const
-{
- rRect.Move( nMapXOfs, nMapYOfs );
- if ( bNeedMap )
- {
- rRect.Left() =BigMulDiv( rRect.Left() , nMapMul, nMapDiv );
- rRect.Top() =BigMulDiv( rRect.Top() , nMapMul, nMapDiv );
- rRect.Right() =BigMulDiv( rRect.Right() , nMapMul, nMapDiv );
- rRect.Bottom()=BigMulDiv( rRect.Bottom(), nMapMul, nMapDiv );
- }
-}
-
void SvxMSDffManager::Scale( Polygon& rPoly ) const
{
if ( !bNeedMap )
@@ -3286,15 +3274,6 @@ void SvxMSDffManager::Scale( Polygon& rPoly ) const
Scale( rPoly[ nPointNum ] );
}
-void SvxMSDffManager::Scale( PolyPolygon& rPoly ) const
-{
- if ( !bNeedMap )
- return;
- sal_uInt16 nPolyAnz = rPoly.Count();
- for ( sal_uInt16 nPolyNum = 0; nPolyNum < nPolyAnz; nPolyNum++ )
- Scale( rPoly[ nPolyNum ] );
-}
-
void SvxMSDffManager::ScaleEmu( sal_Int32& rVal ) const
{
rVal = BigMulDiv( rVal, nEmuMul, nEmuDiv );