diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-11-19 15:36:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-11-19 21:00:27 +0100 |
commit | 3207977c5b21acd305e01776df6c686abed43f64 (patch) | |
tree | 223f42fc57edac4e3fd733a0241135bfad91739d /svtools | |
parent | a0b8bcf088e23bec930f91faa23975e132ece793 (diff) |
Clean up GetHTMLColor "not found" value
...after fe3dd6d831998dd5619ea223af04bc51f9294d2f "Changed return type of
GetHTMLColor". (Clients had already been updated with
530df0b322f64fdcb08e9ef0b6ba944dd172ef60 "Changed return type of GetHTMLColor"
and 463563853a81499de2259372755b00aa5ec246a7 "Changed return type of
GetHTMLColor".)
Change-Id: I1db842775a69bb3c0ff08dca152094d7b67ca221
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106177
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/svhtml/htmlkywd.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svtools/source/svhtml/htmlkywd.cxx b/svtools/source/svhtml/htmlkywd.cxx index 03cfc16ea024..482bfab5e611 100644 --- a/svtools/source/svhtml/htmlkywd.cxx +++ b/svtools/source/svhtml/htmlkywd.cxx @@ -648,8 +648,6 @@ using HTML_ColorEntry = TokenEntry<sal_uInt32>; // Flag: color table has already been sorted static bool bSortColorKeyWords = false; -#define HTML_NO_COLOR 0xffffffffUL - // Color names are not exported (source: // "http://www.uio.no/~mnbjerke/colors_w.html") // "http://www.infi.net/wwwimages/colorindex.html" seem to be buggy. @@ -807,7 +805,7 @@ sal_uInt32 GetHTMLColor( const OUString& rName ) OUString aLowerCase(rName.toAsciiLowerCase()); - return search<sal_uInt32>( aHTMLColorNameTab, aLowerCase, HTML_NO_COLOR); + return search<sal_uInt32>( aHTMLColorNameTab, aLowerCase, SAL_MAX_UINT32); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |