summaryrefslogtreecommitdiff
path: root/onlineupdate
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-24 13:39:49 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-27 06:12:01 +0000
commitefac5fa06e2d00bd67c582d8a6b1f1fc69c9b9f5 (patch)
tree4fdf4539e1b876d4d3d671379be040661c6e847a /onlineupdate
parentafbf466103fd8bb2f3c120a36c181852ad4c967f (diff)
remove some unused defines
Change-Id: Ib2d50e8c29ccbc5ffcb52cdff4ae3eaae9a62188 Reviewed-on: https://gerrit.libreoffice.org/17332 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'onlineupdate')
-rw-r--r--onlineupdate/source/update/updater/nsWindowsRestart.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/onlineupdate/source/update/updater/nsWindowsRestart.cxx b/onlineupdate/source/update/updater/nsWindowsRestart.cxx
index 8623d5117baf..5ecf70e2aac8 100644
--- a/onlineupdate/source/update/updater/nsWindowsRestart.cxx
+++ b/onlineupdate/source/update/updater/nsWindowsRestart.cxx
@@ -55,12 +55,6 @@
// Everything else is not a surrogate: 0x000 -- 0xD7FF, 0xE000 -- 0xFFFF
-// N = (H - 0xD800) * 0x400 + 0x10000 + (L - 0xDC00)
-// I wonder whether we could somehow assert that H is a high surrogate
-// and L is a low surrogate
-#define SURROGATE_TO_UCS4(h, l) (((uint32_t(h) & 0x03FF) << 10) + \
- (uint32_t(l) & 0x03FF) + PLANE1_BASE)
-
// Extract surrogates from a UCS4 char
// Reference: the Unicode standard 4.0, section 3.9
// Since (c - 0x10000) >> 10 == (c >> 10) - 0x0080 and