summaryrefslogtreecommitdiff
path: root/chart2/source/model/main
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-10 17:12:06 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-11 09:26:28 +0200
commite68f28ec9f68a1f70afce7acfa38ce7a63ccdafe (patch)
tree45593e64ba3faa1b22f794743876ce13abd85c84 /chart2/source/model/main
parent3aac0f9b378e12cb51d8e8239f8c0f7627d0f8ca (diff)
cid#1607892 COPY_INSTEAD_OF_MOVE
and cid#1607910 COPY_INSTEAD_OF_MOVE cid#1607818 COPY_INSTEAD_OF_MOVE cid#1557402 COPY_INSTEAD_OF_MOVE cid#1556530 COPY_INSTEAD_OF_MOVE cid#1557396 COPY_INSTEAD_OF_MOVE cid#1556522 COPY_INSTEAD_OF_MOVE cid#1555628 COPY_INSTEAD_OF_MOVE cid#1554705 COPY_INSTEAD_OF_MOVE Change-Id: Iae3fbf4a04bf3714f416995640b9d70fe204cf73 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170321 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'chart2/source/model/main')
-rw-r--r--chart2/source/model/main/Diagram.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/model/main/Diagram.cxx b/chart2/source/model/main/Diagram.cxx
index 3979f0bcf34c..9d34f04dbe8d 100644
--- a/chart2/source/model/main/Diagram.cxx
+++ b/chart2/source/model/main/Diagram.cxx
@@ -1230,7 +1230,7 @@ static std::vector< rtl::Reference< Axis > > lcl_getAxisHoldingCategoriesFromDia
aRet.push_back(xAxis);
}
if( (nN == 0) && !xFallBack.is())
- xFallBack = xAxis;
+ xFallBack = std::move(xAxis);
}
}
}