summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-10-21 10:45:39 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-10-21 15:32:17 +0200
commitf9077c3a7d03e4ba9e373b376a14a3142cb79b21 (patch)
tree07eb83320ac05e419e0b95766cd61dc10ed37805 /chart2/source
parenta2bed2a09185b2cb1a5aaf926544475a4cc4a2b0 (diff)
tdf#163486: PVS: Two similar code fragments were found
Since commit 44569a657c4282757443ae06efc6441e571a0409 Author: Release Engineers <releng@openoffice.org> Date: Thu Jul 2 19:17:43 2009 +0000 CWS-TOOLING: integrate CWS bubblechart V778 Two similar code fragments were found. Perhaps, this is a typo and 'xValuesX' variable should be used instead of 'xValuesY'. Change-Id: I8a3515e2c3de97f82547786a8428f47c503335ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175321 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/model/template/BubbleDataInterpreter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/model/template/BubbleDataInterpreter.cxx b/chart2/source/model/template/BubbleDataInterpreter.cxx
index 2d0aab593f66..8157fdcfb0fe 100644
--- a/chart2/source/model/template/BubbleDataInterpreter.cxx
+++ b/chart2/source/model/template/BubbleDataInterpreter.cxx
@@ -209,7 +209,7 @@ InterpretedData BubbleDataInterpreter::reinterpretDataSeries(
{
xValuesX = aValueSeqVec[nIndex++];
if( xValuesX.is())
- SetRole( xValuesY->getValues(), u"values-x"_ustr);
+ SetRole( xValuesX->getValues(), u"values-x"_ustr);
}
}
if( xValuesSize.is())