sc/source/ui/dialogs/SparklineDialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c1285d4d033a13667a942145db77e3aa38d3f953 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sun Apr 10 10:21:59 2022 +0200 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sun Apr 10 11:26:00 2022 +0200 cid#1503834: copy-paste Change-Id: Ibc5cf10d4daf809e89693ac9d3fb82188ba1b311 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132767 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/sc/source/ui/dialogs/SparklineDialog.cxx b/sc/source/ui/dialogs/SparklineDialog.cxx index 4a7fa320a38e..0c5be765ef3c 100644 --- a/sc/source/ui/dialogs/SparklineDialog.cxx +++ b/sc/source/ui/dialogs/SparklineDialog.cxx @@ -253,7 +253,7 @@ void SparklineDialog::setupValues() break; case sc::AxisType::Custom: mxComboMaxAxisType->set_active(2); - if (maAttributes.getManualMin()) + if (maAttributes.getManualMax()) mxSpinCustomMax->GetFormatter().SetValue(*maAttributes.getManualMax()); break; }