summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-12-18 18:52:11 +0200
committerTor Lillqvist <tml@collabora.com>2015-12-18 18:52:49 +0200
commit0ebbdd66b6bfc761c2bfd610149c01706e68f9da (patch)
tree9a04fd21229769d5dfd506a423c827e379421e4b /vcl
parentdef6b1dd14b7d7dbf776e3de9e2f2d5a0cd1fc2c (diff)
SAL_FONTENUM_STABLE_ON_PLATFORM is not defined anywhere
Change-Id: Id4e9fefc3529a8e1b0079b47ff182ef54e19a0e8
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/font/PhysicalFontCollection.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/vcl/source/font/PhysicalFontCollection.cxx b/vcl/source/font/PhysicalFontCollection.cxx
index c33924247352..0098b3a4de14 100644
--- a/vcl/source/font/PhysicalFontCollection.cxx
+++ b/vcl/source/font/PhysicalFontCollection.cxx
@@ -189,27 +189,6 @@ void PhysicalFontCollection::InitGenericGlyphFallback() const
}
}
-#ifdef SAL_FONTENUM_STABLE_ON_PLATFORM // #i113472#
- // sort the list of fonts for glyph fallback by quality (highest first)
- // #i33947# keep the EUDC font at the front of the list
- // an insertion sort is good enough for this short list
- const int nSortStart = bHasEudc ? 1 : 0;
- for( int i = nSortStart+1, j; i < nMaxLevel; ++i )
- {
- PhysicalFontFamily* pTestFont = pFallbackList[ i ];
- int nTestQuality = pTestFont->GetMinQuality();
-
- for( j = i; --j >= nSortStart; )
- {
- if( nTestQuality > pFallbackList[j]->GetMinQuality() )
- pFallbackList[ j+1 ] = pFallbackList[ j ];
- else
- break;
- }
- pFallbackList[ j+1 ] = pTestFont;
- }
-#endif
-
mnFallbackCount = nMaxLevel;
mpFallbackList = pFallbackList;
}