svx/source/tbxctrls/tbcontrl.cxx |    2 +-
 sw/source/core/doc/gctable.cxx   |    2 +-
 sw/source/filter/html/swhtml.cxx |    4 ++--
 vcl/source/app/salvtables.cxx    |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 2206e7d100eb3cdbffd02933573359136b318506
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Sat Aug 2 19:52:52 2025 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Sun Aug 3 01:00:03 2025 +0200

    cid#1659976 silence Unchecked dynamic_cast
    
    Change-Id: I812d01579e115b5e8ddbbafe1b8b95149fe09cfd
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188854
    Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index 47fd410b0a16..ba68ee569217 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -7008,7 +7008,7 @@ IMPL_LINK_NOARG(SalInstancePopover, PopupModeEndHdl, 
FloatingWindow*, void) { si
 
 SalInstanceColorChooserDialog::SalInstanceColorChooserDialog(
     AbstractColorPickerDialog* pColorDialog)
-    : 
SalInstanceDialog(dynamic_cast<SalInstanceDialog*>(pColorDialog->GetDialog())->getDialog(),
+    : 
SalInstanceDialog(dynamic_cast<SalInstanceDialog&>(*pColorDialog->GetDialog()).getDialog(),
                         nullptr, false)
     , m_pAbstractColorPickerDialog(pColorDialog)
 {
commit 19187045ea02af220373a62905e98eb87e075091
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Sat Aug 2 19:48:09 2025 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Sun Aug 3 00:59:48 2025 +0200

    cid#1660819 silence Unchecked return value
    
    and
    
    cid#1660805 Unchecked return value
    cid#1471547 Unchecked return value
    
    Change-Id: I1aae37e20bd4bd2803b51e179c32a7d3b28a88e0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188853
    Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index c9e59b2abd89..36347ce81b91 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -2437,7 +2437,7 @@ void ColorStatus::statusChanged( const 
css::frame::FeatureStateEvent& rEvent )
     if ( rEvent.State >>= aTable )
     {
         SvxBorderLine aLine;
-        SvxBoxItem::LineToSvxLine( aTable, aLine, false );
+        (void)SvxBoxItem::LineToSvxLine( aTable, aLine, false );
         if ( !aLine.isEmpty() )
             aColor = aLine.GetColor();
     }
diff --git a/sw/source/core/doc/gctable.cxx b/sw/source/core/doc/gctable.cxx
index 845fa603c8eb..24b6f94a28ec 100644
--- a/sw/source/core/doc/gctable.cxx
+++ b/sw/source/core/doc/gctable.cxx
@@ -360,7 +360,7 @@ static bool lcl_MergeGCBox(SwTableBox* pTableBox, 
GCLinePara* pPara)
                 pTabBox->SetUpper( pInsLine );
 
             SfxPoolItem const* pRowBrush(nullptr);
-            pCpyLine->GetFrameFormat()->GetItemState(RES_BACKGROUND, true, 
&pRowBrush);
+            (void)pCpyLine->GetFrameFormat()->GetItemState(RES_BACKGROUND, 
true, &pRowBrush);
             if (pRowBrush)
             {
                 for (auto pBox : pCpyLine->GetTabBoxes())
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index 0ddf8ee2f468..9b3c37a3b808 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -2038,8 +2038,8 @@ void SwHTMLParser::NextToken( HtmlTokenId nToken )
                                          m_pCSS1Parser->GetWhichMap() );
                     SvxCSS1PropertyInfo aPropInfo;
                     OUString aDummy;
-                    ParseStyleOptions( aDummy, aDummy, aDummy, aItemSet,
-                                       aPropInfo, nullptr, &rDir );
+                    (void)ParseStyleOptions(aDummy, aDummy, aDummy, aItemSet,
+                                            aPropInfo, nullptr, &rDir);
 
                     m_pCSS1Parser->SetPageDescAttrs( nullptr, &aItemSet );
                     break;

Reply via email to