[Libreoffice-commits] core.git: sc/source

Caolán McNamara caolanm at redhat.com
Tue Jun 26 10:22:59 UTC 2018


 sc/source/filter/excel/xipivot.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d8733e2c59f120acf9feddff04964becc3358621
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jun 26 09:03:48 2018 +0100

    coverity#1437526 Unchecked return value
    
    Change-Id: Ib1dbc34ff728475bc6473d315daa08ce13c6aa84
    Reviewed-on: https://gerrit.libreoffice.org/56442
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/filter/excel/xipivot.cxx b/sc/source/filter/excel/xipivot.cxx
index b0452408054b..5a6e640d451c 100644
--- a/sc/source/filter/excel/xipivot.cxx
+++ b/sc/source/filter/excel/xipivot.cxx
@@ -1485,7 +1485,7 @@ void XclImpPivotTable::Convert()
     pDPObj->SetOutRange( aOutRange );
     pDPObj->SetHeaderLayout( maPTViewEx9Info.mnGridLayout == 0 );
 
-    GetDoc().GetDPCollection()->InsertNewTable(pDPObj);
+    (void)GetDoc().GetDPCollection()->InsertNewTable(pDPObj);
     mpDPObj = pDPObj;
 
     ApplyFieldInfo();


More information about the Libreoffice-commits mailing list