summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-03-02 17:31:23 +0200
committerTor Lillqvist <tml@iki.fi>2012-03-02 18:43:41 +0200
commit4de374a8b092a988a9022887a3b586336658a5fb (patch)
tree42d9ffd0b729bba006203404fe724c07f830cb20 /svx
parent98e3c3421de24d4729f4099e4e6e12af0e7d787a (diff)
WaE: unused function
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/frmsel.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/svx/source/dialog/frmsel.cxx b/svx/source/dialog/frmsel.cxx
index 597522aaf03f..4dfbea657b30 100644
--- a/svx/source/dialog/frmsel.cxx
+++ b/svx/source/dialog/frmsel.cxx
@@ -107,13 +107,6 @@ FrameSelFlags lclGetFlagFromType( FrameBorderType eBorder )
return FRAMESEL_NONE;
}
-/** Converts an SvxBorderLine line width (in twips) to a pixel line width. */
-inline sal_uInt16 lclGetPixel( sal_uInt16 nWidth )
-{
- // convert all core styles expect 0 to a visible UI style (at least 1 pixel), map 1pt to 1pixel
- return nWidth ? std::min< sal_uInt16 >( std::max< sal_uInt16 >( (nWidth + 5) / 20, 1 ), FRAMESEL_GEOM_WIDTH ) : 0;
-}
-
/** Merges the rSource polypolygon into the rDest polypolygon. */
inline void lclPolyPolyUnion( PolyPolygon& rDest, const PolyPolygon& rSource )
{