diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-10-21 10:47:54 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-10-21 13:20:17 +0200 |
commit | 7785b72d49051c052c829499d13cba4414df9540 (patch) | |
tree | ea5692e93f03bf8da5379d1b3f7d4251a1bfb992 /chart2/source | |
parent | a69a47ffe6d2cfd017d1b53711638305050f8369 (diff) |
tdf#163486: PVS: Two similar code fragments were found
Since
commit 4c2701d4cc8b27eed56172b4188b61efb8783c55
Author: Vladimir Glazounov <vg@openoffice.org>
Date: Tue May 22 17:53:11 2007 +0000
INTEGRATION: CWS chart2mst3 (1.1.4); FILE ADDED
V778 Two similar code fragments were found. Perhaps, this is a typo and 'xValuesX' variable should be used instead of 'xValuesY'.
Change-Id: I24a904ee2e0fa81eb50756545d4b1127b93579fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175322
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/model/template/XYDataInterpreter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/model/template/XYDataInterpreter.cxx b/chart2/source/model/template/XYDataInterpreter.cxx index 2404f5e7f521..d6daa2a5b1d9 100644 --- a/chart2/source/model/template/XYDataInterpreter.cxx +++ b/chart2/source/model/template/XYDataInterpreter.cxx @@ -180,7 +180,7 @@ InterpretedData XYDataInterpreter::reinterpretDataSeries( { xValuesX = aValueSeqVec[nIndex++]; if( xValuesX.is()) - SetRole( xValuesY->getValues(), u"values-x"_ustr); + SetRole( xValuesX->getValues(), u"values-x"_ustr); } } if( xValuesY.is()) |