summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
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 )
{