oox/source/export/chartexport.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 0b3f54e2e3f366841a8b5d83bb970535dd2150c3
Author:     Stephan Bergmann <stephan.bergm...@collabora.com>
AuthorDate: Mon Jul 14 10:21:37 2025 +0200
Commit:     Stephan Bergmann <stephan.bergm...@collabora.com>
CommitDate: Mon Jul 14 15:47:14 2025 +0200

    -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 <stephan.bergm...@collabora.com>

diff --git a/oox/source/export/chartexport.cxx 
b/oox/source/export/chartexport.cxx
index 6628ee02227b..3218141713e9 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1402,7 +1402,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());
 
@@ -3551,7 +3550,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());
 

Reply via email to