https://bugs.documentfoundation.org/show_bug.cgi?id=168284

Michael <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Michael <[email protected]> ---
I ran an earlier version of our spreadsheet, one that has the original
ChangeDocBgColor. It works with LO version 25.8. The reason is that in the
line:

keyNodeColor.setPropertyValue(Parameter,Colour(Value))

Parameter = "Color"

This fails in LO version 25.2. So, because our users can be on different
versions of LO, I had a line to check the version number. 

If (dVersion < 25.2) Parameter is set to "Color", otherwise it is set to
"Light".

Now, I just changed the if statement to be:

        ' We decide which parameter we need, depending on the version of LO.
Version 25.2 uses Light, the other ones use, Color.
        If (dVersion = 25.2) Then
                Parameter = "Light"
        Else
                Parameter = "Color"
        End If

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to