chart2/source/model/template/BubbleDataInterpreter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f9077c3a7d03e4ba9e373b376a14a3142cb79b21
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Mon Oct 21 10:45:39 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Mon Oct 21 15:32:17 2024 +0200

    tdf#163486: PVS: Two similar code fragments were found
    
    Since
    commit 44569a657c4282757443ae06efc6441e571a0409
    Author: Release Engineers <rel...@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 <xiscofa...@libreoffice.org>
    Tested-by: Jenkins

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

Reply via email to