From 7f4a4369b9b0b97301690a32f1fd25f1161b41f3 Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Mon, 15 Feb 2016 01:03:42 -0800 Subject: Sync 2Geom to e7245a01127647cd20b0d851a0a622d9ded38d23. Restores correct meaning of Line::versor(). (bzr r14652) --- src/2geom/coord.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/2geom/coord.cpp') diff --git a/src/2geom/coord.cpp b/src/2geom/coord.cpp index 8b5e28586..8c7485883 100644 --- a/src/2geom/coord.cpp +++ b/src/2geom/coord.cpp @@ -111,12 +111,6 @@ namespace Geom { namespace { -inline int StrLength(const char* string) { - size_t length = strlen(string); - ASSERT(length == static_cast(static_cast(length))); - return static_cast(length); -} - template class Vector { public: @@ -1733,8 +1727,6 @@ enum FastDtoaMode { FAST_DTOA_PRECISION }; -static const int kFastDtoaMaximalLength = 17; - bool FastDtoa(double d, FastDtoaMode mode, int requested_digits, @@ -2350,7 +2342,6 @@ bool FastFixedDtoa(double v, return true; } -static const int kMaxExactDoubleIntegerDecimalDigits = 15; static const int kMaxUint64DecimalDigits = 19; static const int kMaxDecimalPower = 309; -- cgit v1.2.3