summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-05-06 01:29:33 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2013-05-06 01:43:34 +0200
commit26ec39fc9f4fecd826983b08b64990ca608e48c4 (patch)
tree8b0fe45182ad97bfa10b974e5c550aca94874405 /vcl
parentdata label export does not work with bar charts (diff)
downloadcore-26ec39fc9f4fecd826983b08b64990ca608e48c4.tar.gz
core-26ec39fc9f4fecd826983b08b64990ca608e48c4.zip
Revert "#i103131# in doubt treat unicode variation selectors as invisible(cherry picked from commit 179f88dfe5a1eb2ebd051d73b50f1e0af9c12fd9)"
This reverts commit 6840ba613cc46ee65d58612ecabe748d539de9f5. We don't want this since we can now support variation selectors with HarfBuzz.
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/sallayout.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index d4696c799919..e90f7820f7e4 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -337,11 +337,6 @@ inline bool IsControlChar( sal_UCS4 cChar )
// byte order markers and invalid unicode
if( (cChar == 0xFEFF) || (cChar == 0xFFFE) || (cChar == 0xFFFF) )
return true;
- // variation selectors
- if( (0xFE00 <= cChar) && (cChar <= 0xFE0F) )
- return true;
- if( (0xE0100 <= cChar) && (cChar <= 0xE01EF) )
- return true;
return false;
}