summaryrefslogtreecommitdiff
path: root/vcl/os2/source/gdi/os2layout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/os2/source/gdi/os2layout.cxx')
-rw-r--r--vcl/os2/source/gdi/os2layout.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/vcl/os2/source/gdi/os2layout.cxx b/vcl/os2/source/gdi/os2layout.cxx
index 25e169e8069c..0d30679bf309 100644
--- a/vcl/os2/source/gdi/os2layout.cxx
+++ b/vcl/os2/source/gdi/os2layout.cxx
@@ -246,15 +246,6 @@ bool Os2SalLayout::LayoutText( ImplLayoutArgs& rArgs )
}
// TODO: use a cached value for bDisableAsianKern from upper layers
-#if 0
- if( rArgs.mnFlags & SAL_LAYOUT_KERNING_ASIAN )
- {
- TEXTMETRICA aTextMetricA;
- if( ::GetTextMetricsA( mhDC, &aTextMetricA )
- && !(aTextMetricA.tmPitchAndFamily & TMPF_FIXED_PITCH) )
- rArgs.mnFlags &= ~SAL_LAYOUT_KERNING_ASIAN;
- }
-#endif
// layout text
int i, j;