sc: copy cache values when clone color conditional format
commit8ac5e24a3575d140008a6b8d4c6414dc3ef1ef4b
authorHenry Castro <hcastro@collabora.com>
Thu, 11 May 2023 20:23:03 +0000 (11 16:23 -0400)
committerAron Budea <aron.budea@collabora.com>
Wed, 24 May 2023 17:26:18 +0000 (24 19:26 +0200)
treee102890bd17a8771ac8894abaed03cc05d442dbc
parent1751877e646667793dd3593dff95665790100b69
sc: copy cache values when clone color conditional format

When clone a conditional format list, also copy the cache
values that hold the min and max values, otherwise if clone
occurs when copying to the clipboard the values have wrong
data due to limiting range cells copied.

Signed-off-by: Henry Castro <hcastro@collabora.com>
Change-Id: Id9085a1488a3bde24842e0d2e062c9b425074157
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151686
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
sc/inc/colorscale.hxx
sc/source/core/data/colorscale.cxx