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

Caolán McNamara caolanm at redhat.com
Thu Nov 16 08:57:55 UTC 2017


 sw/source/core/unocore/unotbl.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 74dad3a6c5edc9c9822ef85577f84892bdb13591
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Nov 15 17:11:49 2017 +0000

    coverity#1421111 Useless call
    
    since
    
    commit 1c46621b4b7d73537a8cf7d07237ff682278d7ee
    Date:   Tue May 22 15:35:06 2007 +0000
    
        INTEGRATION: CWS chart2mst3 (1.85.12); FILE MERGED
    
    Change-Id: I1af5fbaf4ed0bceb2062a9ed2de9ea5703cfbb97
    Reviewed-on: https://gerrit.libreoffice.org/44776
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 1905492f50ef..67d4458e3740 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -3054,8 +3054,6 @@ void SwXTextTable::setName(const OUString& rName)
             {
                 static_cast<SwOLENode*>(pNd)->SetChartTableName( rName );
 
-                static_cast<SwOLENode*>(pNd)->GetOLEObj();
-
                 SwTable* pTable = SwTable::FindTable( pFormat );
                 //TL_CHART2: chart needs to be notfied about name changes
                 pFormat->GetDoc()->UpdateCharts( pTable->GetFrameFormat()->GetName() );


More information about the Libreoffice-commits mailing list