sc/source/ui/unoobj/chart2uno.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 9817a03e03988b86050c0fe0e4cd4cca476f172f
Author:     offtkp <parisop...@gmail.com>
AuthorDate: Mon Dec 12 17:56:57 2022 +0200
Commit:     Eike Rathke <er...@redhat.com>
CommitDate: Thu Jan 5 22:12:15 2023 +0000

    Change variable name from rData to pData
    
    Change-Id: Ied27e34b35a22b1f2a7521fb58035170651b1ca3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144001
    Tested-by: Jenkins
    Reviewed-by: Eike Rathke <er...@redhat.com>

diff --git a/sc/source/ui/unoobj/chart2uno.cxx 
b/sc/source/ui/unoobj/chart2uno.cxx
index e36fba94d71e..cc8f6a06dd31 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -2583,14 +2583,14 @@ void ScChart2DataSequence::BuildDataCache()
                             // Excel behavior: if the last row is the totals 
row, the data
                             // is not added to the chart. If it's not the last 
row, the data
                             // is added like normal.
-                            const auto* rData = m_pDocument->GetDBAtCursor(
+                            const auto* pData = m_pDocument->GetDBAtCursor(
                                 nCol, nRow, nTab,
                                 ScDBDataPortion::AREA
                             );
-                            if (rData && rData->HasTotals())
+                            if (pData && pData->HasTotals())
                             {
                                 ScRange aTempRange;
-                                rData->GetArea(aTempRange);
+                                pData->GetArea(aTempRange);
                                 if (aTempRange.aEnd.Row() == nRow)
                                 {
                                     // Current row is totals row, skip

Reply via email to