From efac5fa06e2d00bd67c582d8a6b1f1fc69c9b9f5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 24 Jul 2015 13:39:49 +0200 Subject: remove some unused defines Change-Id: Ib2d50e8c29ccbc5ffcb52cdff4ae3eaae9a62188 Reviewed-on: https://gerrit.libreoffice.org/17332 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- onlineupdate/source/update/updater/nsWindowsRestart.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'onlineupdate') 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 -- cgit