tdf#163486: PVS: Two similar code fragments were found

Since
commit 4c2701d4cc
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>
This commit is contained in:
Xisco Fauli 2024-10-21 10:47:54 +02:00
parent a69a47ffe6
commit 7785b72d49

View file

@ -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())