diff options
author | Mathias Bauer <mba@openoffice.org> | 2009-10-18 15:05:21 +0200 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2009-10-18 15:05:21 +0200 |
commit | c5ddee96afdc3ceb5bcc023b36185122a16b283d (patch) | |
tree | 6c071444db99c71d14dd8df9773dc06fac7895c2 /tools/inc/poly.h | |
parent | ad482351a6c12cddb06575f6a9a00ec1b72d92fb (diff) |
#i103496#: move some enums, defines and inlines from vcl to tools to get xmloff free of vcl stuff
Diffstat (limited to 'tools/inc/poly.h')
-rw-r--r-- | tools/inc/poly.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tools/inc/poly.h b/tools/inc/poly.h index ed70359be0c0..4f281a9b1359 100644 --- a/tools/inc/poly.h +++ b/tools/inc/poly.h @@ -99,17 +99,4 @@ public: ~ImplPolyPolygon(); }; -inline long MinMax( long nVal, long nMin, long nMax ) -{ - return( nVal >= nMin ? ( nVal <= nMax ? nVal : nMax ) : nMin ); -} - -// ------------------------------------------------------------------ - -inline long FRound( double fVal ) -{ - return( fVal > 0.0 ? (long) ( fVal + 0.5 ) : -(long) ( -fVal + 0.5 ) ); -} - - #endif // _SV_POLY_H |