diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-02 17:31:23 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-02 18:43:41 +0200 |
commit | 4de374a8b092a988a9022887a3b586336658a5fb (patch) | |
tree | 42d9ffd0b729bba006203404fe724c07f830cb20 /svx | |
parent | WaE: equality comparison with extraneous parentheses (diff) | |
download | core-4de374a8b092a988a9022887a3b586336658a5fb.tar.gz core-4de374a8b092a988a9022887a3b586336658a5fb.zip |
WaE: unused function
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/frmsel.cxx | 7 |
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 ) { |