[Libreoffice-commits] core.git: vcl/source

Stephan Bergmann sbergman at redhat.com
Fri Jun 27 00:13:41 PDT 2014


 vcl/source/glyphs/graphite_layout.cxx |   10 ----------
 1 file changed, 10 deletions(-)

New commits:
commit 03d4d4b3f2a5309f3eb6b2bd9073f016e08fd3df
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jun 27 09:13:00 2014 +0200

    loplugin:unreffun
    
    Change-Id: I2afc1cd5ed813f768f06ad0db651fb9e8e81d844

diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx
index 5343577..b365eb3 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<typename T>
-    inline bool is_subrange(const T sb, const T se, const T b, const T e) {
-        return !(b > sb || se > e);
-    }
-
-    template<typename T>
-    inline bool is_subrange(const std::pair<T, T> &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;


More information about the Libreoffice-commits mailing list