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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 22 10:16:03 UTC 2020


 chart2/source/controller/dialogs/DialogModel.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 17ca11125f1639d87d31237af822767dd38d31e7
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Sep 22 09:51:00 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Sep 22 12:15:27 2020 +0200

    cid#1467075 silence Unchecked return value
    
    Change-Id: I77809ff271004a216131f26a26696d5717877a8d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103145
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/chart2/source/controller/dialogs/DialogModel.cxx b/chart2/source/controller/dialogs/DialogModel.cxx
index 6ee640a8ff3f..cb4bc4413f20 100644
--- a/chart2/source/controller/dialogs/DialogModel.cxx
+++ b/chart2/source/controller/dialogs/DialogModel.cxx
@@ -677,9 +677,11 @@ void DialogModel::detectArguments(
 
         // Note: unused data is currently not supported in being passed to detectRangeSegmentation
         if( m_xChartDocument.is())
-            DataSourceHelper::detectRangeSegmentation(
+        {
+            (void)DataSourceHelper::detectRangeSegmentation(
                 Reference< frame::XModel >( m_xChartDocument, uno::UNO_QUERY_THROW ),
                 rOutRangeString, aSequenceMapping, rOutUseColumns, rOutFirstCellAsLabel, rOutHasCategories );
+        }
     }
     catch( const uno::Exception & )
     {


More information about the Libreoffice-commits mailing list