From c9389760bb5345de7677efae5a2051e54c6656e1 Mon Sep 17 00:00:00 2001 From: Fantasy-Dash <74521319+Fantasy-Dash@users.noreply.github.com> Date: Fri, 2 Jun 2023 11:04:23 +0800 Subject: [PATCH] Change RBG->RGB --- main/HSSF/UserModel/HSSFExtendedColor.cs | 2 +- main/SS/UserModel/ExtendedColor.cs | 6 +++--- ooxml/XSSF/UserModel/XSSFColor.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/main/HSSF/UserModel/HSSFExtendedColor.cs b/main/HSSF/UserModel/HSSFExtendedColor.cs index 6f19deaad..c079fb238 100644 --- a/main/HSSF/UserModel/HSSFExtendedColor.cs +++ b/main/HSSF/UserModel/HSSFExtendedColor.cs @@ -153,7 +153,7 @@ public override byte[] ARGB } } - protected override byte[] StoredRBG + protected override byte[] StoredRGB { get { diff --git a/main/SS/UserModel/ExtendedColor.cs b/main/SS/UserModel/ExtendedColor.cs index f1a3b0ab2..338d80d02 100644 --- a/main/SS/UserModel/ExtendedColor.cs +++ b/main/SS/UserModel/ExtendedColor.cs @@ -83,7 +83,7 @@ public virtual short Indexed /** * RGB or ARGB or null */ - protected abstract byte[] StoredRBG { get; } + protected abstract byte[] StoredRGB { get; } protected byte[] GetRGBOrARGB() @@ -106,7 +106,7 @@ protected byte[] GetRGBOrARGB() } // Grab the colour - return StoredRBG; + return StoredRGB; } /** @@ -117,7 +117,7 @@ public byte[] RGBWithTint { get { - byte[] rgb = StoredRBG; + byte[] rgb = StoredRGB; if (rgb != null) { if (rgb.Length == 4) diff --git a/ooxml/XSSF/UserModel/XSSFColor.cs b/ooxml/XSSF/UserModel/XSSFColor.cs index 7f53079e0..fdee0c540 100644 --- a/ooxml/XSSF/UserModel/XSSFColor.cs +++ b/ooxml/XSSF/UserModel/XSSFColor.cs @@ -170,7 +170,7 @@ public byte[] GetRgb() return this.RGB; } - protected override byte[] StoredRBG + protected override byte[] StoredRGB { get {