diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-26 10:26:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-26 14:55:58 +0100 |
commit | 1efcc72d4ac27c9c5f151e410ca3066521c14355 (patch) | |
tree | cb36ae6fadd7264f05bf25c1483831bf9b65f19f /sc/source/filter/xml/xmlcondformat.cxx | |
parent | 8a9a0447807ad7544a3df5a067dd26a4ee6613f1 (diff) |
std::unique_ptr -> std::optional
Change-Id: I25f8b337a3f9cecb4d7785c18d91dae89ba20799
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104797
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/xml/xmlcondformat.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlcondformat.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlcondformat.cxx b/sc/source/filter/xml/xmlcondformat.cxx index 9c3ca0904b6c..42a96e04c195 100644 --- a/sc/source/filter/xml/xmlcondformat.cxx +++ b/sc/source/filter/xml/xmlcondformat.cxx @@ -471,7 +471,7 @@ ScXMLDataBarFormatContext::ScXMLDataBarFormatContext( ScXMLImport& rImport, // we might check here for 0xff0000 and don't write it Color nColor; sax::Converter::convertColor( nColor, sNegativeColor ); - mpFormatData->mpNegativeColor.reset(new Color(nColor)); + mpFormatData->mxNegativeColor = nColor; } else mpFormatData->mbNeg = false; |