sc/source/ui/docshell/dbdocfun.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit dc2509bca4f503c11cdde16779363a5aae67185f
Author:     Zdibák Zoltán <zdibakzol...@gmail.com>
AuthorDate: Tue Oct 30 19:51:29 2018 +0100
Commit:     Markus Mohrhard <markus.mohrh...@googlemail.com>
CommitDate: Wed Oct 31 02:21:58 2018 +0100

    cppCheck RedundantAssignment variable bRefFound
    
    Change-Id: I1b8e9d434a682717e09ae1d23470baef55935fe6
    Reviewed-on: https://gerrit.libreoffice.org/62664
    Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrh...@googlemail.com>

diff --git a/sc/source/ui/docshell/dbdocfun.cxx 
b/sc/source/ui/docshell/dbdocfun.cxx
index 622d54755641..5060c53ff205 100644
--- a/sc/source/ui/docshell/dbdocfun.cxx
+++ b/sc/source/ui/docshell/dbdocfun.cxx
@@ -1445,9 +1445,8 @@ bool ScDBDocFunc::CreatePivotTable(const ScDPObject& 
rDPObj, bool bRecord, bool
 
     // Synchronize groups between linked tables
     {
-        bool bRefFound = false;
         const ScDPDimensionSaveData* pGroups = nullptr;
-        bRefFound = rDoc.GetDPCollection()->GetReferenceGroups(rDestObj, 
&pGroups);
+        bool bRefFound = rDoc.GetDPCollection()->GetReferenceGroups(rDestObj, 
&pGroups);
         if (bRefFound)
         {
             ScDPSaveData* pSaveData = rDestObj.GetSaveData();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to