summaryrefslogtreecommitdiff
path: root/starmath/source/mathml
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2023-06-04 09:36:02 +0200
committerJulien Nabet <serval2412@yahoo.fr>2023-06-04 11:02:34 +0200
commitca595a7d7e35ca814e4eb6cb5d7afbc88f85c850 (patch)
treebca61d4fb88d0e026dcce98ae88a7529db2406ea /starmath/source/mathml
parent97710bbf1df975e896839cd78a34bdab7be7622a (diff)
Remove unused starmathdatabase::Identify_Color_HTML
Seems to be unused since 88c343b50a1de197394e3e22bf82ff455386a80b "Corrected my previous mess on mathml export with color export 2. Now only exports HTML4 colors and others are treated as #RRGGBB. Now mathml can import #RGB colors. " in 2020 Change-Id: Iac006383146afaa62775e6e76fa203925dce51d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152585 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'starmath/source/mathml')
-rw-r--r--starmath/source/mathml/starmathdatabase.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/starmath/source/mathml/starmathdatabase.cxx b/starmath/source/mathml/starmathdatabase.cxx
index 66bdf3f3400c..cc6614cee4f1 100644
--- a/starmath/source/mathml/starmathdatabase.cxx
+++ b/starmath/source/mathml/starmathdatabase.cxx
@@ -710,17 +710,6 @@ SmColorTokenTableEntry starmathdatabase::Identify_Color_Parser(sal_uInt32 cColor
return SmColorTokenTableEntry("", TRGBA, cColor);
}
-SmColorTokenTableEntry starmathdatabase::Identify_Color_HTML(sal_uInt32 cColor)
-{
- for (auto i = std::begin(aColorTokenTableHTML); i < std::end(aColorTokenTableHTML); ++i)
- if (i->equals(cColor))
- return i;
- if ((cColor & 0x00FFFFFF) == cColor)
- return SmColorTokenTableEntry("", TRGB, cColor);
- else
- return SmColorTokenTableEntry("", TRGBA, cColor);
-}
-
SmColorTokenTableEntry starmathdatabase::Identify_Color_MATHML(sal_uInt32 cColor)
{
for (auto i = std::begin(aColorTokenTableMATHML); i < std::end(aColorTokenTableMATHML); ++i)