Kaydet (Commit) dc2509bc authored tarafından Zdibák Zoltán's avatar Zdibák Zoltán Kaydeden (comit) Markus Mohrhard

cppCheck RedundantAssignment variable bRefFound

Change-Id: I1b8e9d434a682717e09ae1d23470baef55935fe6
Reviewed-on: https://gerrit.libreoffice.org/62664Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 2e20c730
...@@ -1445,9 +1445,8 @@ bool ScDBDocFunc::CreatePivotTable(const ScDPObject& rDPObj, bool bRecord, bool ...@@ -1445,9 +1445,8 @@ bool ScDBDocFunc::CreatePivotTable(const ScDPObject& rDPObj, bool bRecord, bool
// Synchronize groups between linked tables // Synchronize groups between linked tables
{ {
bool bRefFound = false;
const ScDPDimensionSaveData* pGroups = nullptr; const ScDPDimensionSaveData* pGroups = nullptr;
bRefFound = rDoc.GetDPCollection()->GetReferenceGroups(rDestObj, &pGroups); bool bRefFound = rDoc.GetDPCollection()->GetReferenceGroups(rDestObj, &pGroups);
if (bRefFound) if (bRefFound)
{ {
ScDPSaveData* pSaveData = rDestObj.GetSaveData(); ScDPSaveData* pSaveData = rDestObj.GetSaveData();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment