oox/source/export/chartexport.cxx | 2 -- sc/source/ui/dbgui/dbtabledlg.cxx | 2 +- sc/source/ui/view/cellsh2.cxx | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-)
New commits: commit 6be5496bad9aa2239b7c2ccd90015ca6989dd387 Author: Stephan Bergmann <[email protected]> AuthorDate: Thu Nov 27 15:37:50 2025 +0100 Commit: Stephan Bergmann <[email protected]> CommitDate: Fri Nov 28 09:13:25 2025 +0100 -Werror,-Wunused-but-set-variable ...in code introduced in c14cc57ac94a71e9453ec7b5ee261bd0460b2c99 "Table Style: introduce insert/delete Table... command available from" Change-Id: Ibf6de99215d7e6abd4b648c56f06a33e6a61d87a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194714 Reviewed-by: Balazs Varga <[email protected]> Reviewed-by: Michael Stahl <[email protected]> Tested-by: Jenkins CollaboraOffice <[email protected]> diff --git a/sc/source/ui/dbgui/dbtabledlg.cxx b/sc/source/ui/dbgui/dbtabledlg.cxx index 9c656129e3f5..bd00130f4c63 100644 --- a/sc/source/ui/dbgui/dbtabledlg.cxx +++ b/sc/source/ui/dbgui/dbtabledlg.cxx @@ -143,7 +143,7 @@ IMPL_LINK_NOARG(ScDbTableDlg, OkBtnHdl, weld::Button&, void) for (const ScDBData* pDBData : aDBData) { - if (const ScTableStyleParam* pTableStyleInfo = pDBData->GetTableStyleInfo()) + if (pDBData->GetTableStyleInfo()) { bInvalid = true; theCurArea = ScRange(); diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index 90d8495144c6..8225bf5ef01e 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -1371,8 +1371,7 @@ void ScCellShell::GetDBState( SfxItemSet& rSet ) nStartCol, nStartRow, nEndCol, nEndRow, nStartTab); for (const ScDBData* pDBData : aDBData) { - if (const ScTableStyleParam* pTableStyleInfo - = pDBData->GetTableStyleInfo()) + if (pDBData->GetTableStyleInfo()) { bDisable = true; break; commit 31404e55a0cab502cefaf10768daace82fc58a3a Author: Stephan Bergmann <[email protected]> AuthorDate: Mon Jul 14 10:21:37 2025 +0200 Commit: Stephan Bergmann <[email protected]> CommitDate: Fri Nov 28 09:13:10 2025 +0100 -Werror,-Wunused-variable ...in code newly introduced in c84c7b3c81308fbafa273c76a75f4a71596666b8 "tdf#165742 Step 4.7: Add support for internal data" Change-Id: I2c011af7e662a455cd43fb8b6d229c3e7a38fff3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187848 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <[email protected]> (cherry picked from commit 0b3f54e2e3f366841a8b5d83bb970535dd2150c3) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194713 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Michael Stahl <[email protected]> diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 21d71053a192..0837aa7b08ad 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -1411,7 +1411,6 @@ void ChartExport::exportData_chartex( [[maybe_unused]] const Reference< css::cha Reference< chart2::data::XDataSource > xSource( rSeries, uno::UNO_QUERY ); if( !xSource.is()) continue; - Reference< chart2::XDataSeries > xDataSeries( xSource, uno::UNO_QUERY ); Sequence< Reference< chart2::data::XLabeledDataSequence > > aSeqCnt( xSource->getDataSequences()); @@ -3576,7 +3575,6 @@ void ChartExport::exportSeries_chartex( const Reference<chart2::XChartType>& xCh FSHelperPtr pFS = GetFS(); pFS->startElement(FSNS(XML_cx, XML_series), XML_layoutId, sTypeName); - Reference< chart2::XDataSeries > xDataSeries( xSource, uno::UNO_QUERY ); Sequence< Reference< chart2::data::XLabeledDataSequence > > aSeqCnt( xSource->getDataSequences());
