summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-13 10:30:16 +0200
committerNoel Grandin <noel@peralex.com>2015-11-13 10:54:20 +0200
commit343ec4b7234f4eb9709f09d453131100d3283ddc (patch)
treebe2bb9566746b026b2bae1a4cfc6fc69e3f21641 /sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx
parent280553e30f4ddc932838f98a9efaac03a988a0df (diff)
sc: boost::ptr_vector->std::vector<std::unique_ptr>
Change-Id: I21fdb9f503241c2fa38f3de059a1f674a6631c78
Diffstat (limited to 'sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx')
-rw-r--r--sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx
index d4f98ab2b69f..3795601cde5a 100644
--- a/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx
+++ b/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx
@@ -40,7 +40,7 @@ void ScPivotLayoutTreeListLabel::FillLabelFields(ScDPLabelDataVector& rLabelVect
ScDPLabelDataVector::iterator it;
for (it = rLabelVector.begin(); it != rLabelVector.end(); ++it)
{
- const ScDPLabelData& rLabelData = *it;
+ const ScDPLabelData& rLabelData = *it->get();
ScItemValue* pValue = new ScItemValue(rLabelData.maName, rLabelData.mnCol, rLabelData.mnFuncMask);
maItemValues.push_back(std::unique_ptr<ScItemValue>(pValue));