From 9817a03e03988b86050c0fe0e4cd4cca476f172f Mon Sep 17 00:00:00 2001 From: offtkp Date: Mon, 12 Dec 2022 17:56:57 +0200 Subject: 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 --- sc/source/ui/unoobj/chart2uno.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sc/source/ui/unoobj/chart2uno.cxx') 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 -- cgit