include/docmodel/color/ComplexColor.hxx |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 71b81c3131d004c0e500b5e8fe7bb4c455af6582
Author:     Noel Grandin <[email protected]>
AuthorDate: Fri Feb 20 11:51:54 2026 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Fri Feb 20 13:35:13 2026 +0100

    Add some comments to ComplexColor
    
    Change-Id: Ie08e352e0cca7b6534c1b5cc1d34db5d677537e3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199807
    Reviewed-by: Noel Grandin <[email protected]>
    Tested-by: Jenkins

diff --git a/include/docmodel/color/ComplexColor.hxx 
b/include/docmodel/color/ComplexColor.hxx
index d681a03b99d1..456ca99062c0 100644
--- a/include/docmodel/color/ComplexColor.hxx
+++ b/include/docmodel/color/ComplexColor.hxx
@@ -35,6 +35,7 @@ enum class ColorType
     Finalized /// Finalized RGB color.
 };
 
+/// Used when ColorType == System
 enum class SystemColorType
 {
     Unused,
@@ -89,8 +90,10 @@ private:
     double mnComponent2 = 0.0; // Green, Saturation
     double mnComponent3 = 0.0; // Blue, Luminance
 
-    SystemColorType meSystemColorType = SystemColorType::Unused;
-    ::Color maLastColor;
+    SystemColorType meSystemColorType
+        = SystemColorType::Unused; /// Only used when ColorType == System
+    ::Color
+        maLastColor; /// Only used when ColorType == System, does not do 
anything useful right now.
 
     ThemeColorType meThemeColorType = ThemeColorType::Unknown;
     ThemeColorUsage meThemeColorUsage = ThemeColorUsage::Unknown;

Reply via email to