summaryrefslogtreecommitdiffstats
path: root/chart2/source/view/inc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2023-12-15 20:42:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-12-16 10:44:56 +0100
commit23f8c4786681c120022fb726f03ec248517136f4 (patch)
tree9de64207d9011a6815a4c7333852a3324f72e27a /chart2/source/view/inc
parentno need to allocate this on the heap (diff)
downloadcore-23f8c4786681c120022fb726f03ec248517136f4.tar.gz
core-23f8c4786681c120022fb726f03ec248517136f4.zip
unique_ptr to optional in chart2
Change-Id: Ia61bbedc8a96ac7525eb24997f99546ed26e377c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160835 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/view/inc')
-rw-r--r--chart2/source/view/inc/VDataSeries.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/inc/VDataSeries.hxx b/chart2/source/view/inc/VDataSeries.hxx
index 0ab4fffe0e93..65f7247bc197 100644
--- a/chart2/source/view/inc/VDataSeries.hxx
+++ b/chart2/source/view/inc/VDataSeries.hxx
@@ -246,8 +246,8 @@ private: //member
mutable std::optional<css::chart2::DataPointLabel>
m_oLabel_AttributedPoint;
- mutable std::unique_ptr<tNameSequence> m_apLabelPropNames_AttributedPoint;
- mutable std::unique_ptr<tAnySequence> m_apLabelPropValues_AttributedPoint;
+ mutable std::optional<tNameSequence> m_oLabelPropNames_AttributedPoint;
+ mutable std::optional<tAnySequence> m_oLabelPropValues_AttributedPoint;
mutable std::optional<css::chart2::Symbol> m_oSymbolProperties_AttributedPoint;
mutable std::optional<css::chart2::Symbol> m_oSymbolProperties_InvisibleSymbolForSelection;
mutable sal_Int32 m_nCurrentAttributedPoint;