summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorofftkp <parisoplop@gmail.com>2022-12-12 17:56:57 +0200
committerEike Rathke <erack@redhat.com>2023-01-05 22:12:15 +0000
commit9817a03e03988b86050c0fe0e4cd4cca476f172f (patch)
tree4dbd98f972f81b555933ca456d08a35ae9400dd6 /sc
parent375630ae76f46c096421dfadee8d37b406bc10c5 (diff)
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 <erack@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/unoobj/chart2uno.cxx6
1 files changed, 3 insertions, 3 deletions
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