From 03d4d4b3f2a5309f3eb6b2bd9073f016e08fd3df Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 27 Jun 2014 09:13:00 +0200 Subject: loplugin:unreffun Change-Id: I2afc1cd5ed813f768f06ad0db651fb9e8e81d844 --- vcl/source/glyphs/graphite_layout.cxx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx index 53435779d9e5..b365eb38f913 100644 --- a/vcl/source/glyphs/graphite_layout.cxx +++ b/vcl/source/glyphs/graphite_layout.cxx @@ -95,16 +95,6 @@ namespace return !(b > i) && i < e; } - template - inline bool is_subrange(const T sb, const T se, const T b, const T e) { - return !(b > sb || se > e); - } - - template - inline bool is_subrange(const std::pair &s, const T b, const T e) { - return is_subrange(s.first, s.second, b, e); - } - int findSameDirLimit(const sal_Unicode* buffer, int charCount, bool rtl) { UErrorCode status = U_ZERO_ERROR; -- cgit v1.2.3