summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/impfont.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/impfont.cxx')
-rw-r--r--vcl/source/gdi/impfont.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/vcl/source/gdi/impfont.cxx b/vcl/source/gdi/impfont.cxx
index 327b0d78de3b..a8863ef56df8 100644
--- a/vcl/source/gdi/impfont.cxx
+++ b/vcl/source/gdi/impfont.cxx
@@ -401,14 +401,6 @@ FontCharMap::FontCharMap( const CmapResult& rCR )
{
ImplFontCharMapPtr pImplFontCharMap( new ImplFontCharMap(rCR) );
mpImplFontCharMap = pImplFontCharMap;
-
- const sal_UCS4* pRangePtr = mpImplFontCharMap->mpRangeCodes;
- for( int i = mpImplFontCharMap->mnRangeCount; --i >= 0; pRangePtr += 2 )
- {
- sal_UCS4 cFirst = pRangePtr[0];
- sal_UCS4 cLast = pRangePtr[1];
- mpImplFontCharMap->mnCharCount += cLast - cFirst;
- }
}
FontCharMap::~FontCharMap()