summaryrefslogtreecommitdiff
path: root/vcl/generic/glyphs/glyphcache.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/generic/glyphs/glyphcache.cxx')
-rw-r--r--vcl/generic/glyphs/glyphcache.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/vcl/generic/glyphs/glyphcache.cxx b/vcl/generic/glyphs/glyphcache.cxx
index 2ed37a79b14c..dc2f4e5ba00f 100644
--- a/vcl/generic/glyphs/glyphcache.cxx
+++ b/vcl/generic/glyphs/glyphcache.cxx
@@ -456,25 +456,6 @@ int ExtraKernInfo::GetUnscaledKernPairs( ImplKernPairData** ppKernPairs ) const
return nKernCount;
}
-//--------------------------------------------------------------------------
-
-int ExtraKernInfo::GetUnscaledKernValue( sal_Unicode cLeft, sal_Unicode cRight ) const
-{
- if( !mbInitialized )
- Initialize();
-
- if( maUnicodeKernPairs.empty() )
- return 0;
-
- ImplKernPairData aKernPair = { cLeft, cRight, 0 };
- UnicodeKernPairs::const_iterator it = maUnicodeKernPairs.find( aKernPair );
- if( it == maUnicodeKernPairs.end() )
- return 0;
-
- int nUnscaledValue = (*it).mnKern;
- return nUnscaledValue;
-}
-
// =======================================================================
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */