summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source')
-rw-r--r--oox/source/core/xmlfilterbase.cxx1
-rw-r--r--oox/source/drawingml/table/tablecell.cxx1
-rw-r--r--oox/source/drawingml/textparagraphpropertiescontext.cxx1
-rw-r--r--oox/source/export/chartexport.cxx5
4 files changed, 0 insertions, 8 deletions
diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx
index 8401dd7ce59d..04e58ab6f0af 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -242,7 +242,6 @@ void XmlFilterBase::checkDocumentProperties(const Reference<XDocumentProperties>
void XmlFilterBase::importDocumentProperties()
{
- Reference< XMultiServiceFactory > xFactory( getComponentContext()->getServiceManager(), UNO_QUERY );
MediaDescriptor aMediaDesc( getMediaDescriptor() );
Reference< XInputStream > xInputStream;
Reference< XComponentContext > xContext = getComponentContext();
diff --git a/oox/source/drawingml/table/tablecell.cxx b/oox/source/drawingml/table/tablecell.cxx
index ebc2ed731d5b..847633537b86 100644
--- a/oox/source/drawingml/table/tablecell.cxx
+++ b/oox/source/drawingml/table/tablecell.cxx
@@ -236,7 +236,6 @@ void TableCell::pushToXCell( const ::oox::core::XmlFilterBase& rFilterBase, cons
applyTableCellProperties( rxCell, *this );
TextCharacterProperties aTextStyleProps;
xAt->gotoStart( true );
- Reference< text::XTextRange > xStart( xAt, UNO_QUERY );
xAt->gotoEnd( true );
Reference< XPropertySet > xPropSet( rxCell, UNO_QUERY_THROW );
diff --git a/oox/source/drawingml/textparagraphpropertiescontext.cxx b/oox/source/drawingml/textparagraphpropertiescontext.cxx
index 9eb690191e28..d8071652da73 100644
--- a/oox/source/drawingml/textparagraphpropertiescontext.cxx
+++ b/oox/source/drawingml/textparagraphpropertiescontext.cxx
@@ -163,7 +163,6 @@ TextParagraphPropertiesContext::~TextParagraphPropertiesContext()
ContextHandlerRef TextParagraphPropertiesContext::onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs )
{
- Reference< XFastContextHandler > xRet;
switch( aElementToken )
{
case A_TOKEN( lnSpc ): // CT_TextSpacing
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 5d0ccdcca268..500a80143878 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -2211,7 +2211,6 @@ void ChartExport::exportCandleStickSeries(
Sequence< Reference< chart2::data::XLabeledDataSequence > > aSeqCnt(
xSource->getDataSequences());
- Reference< chart2::XChartDocument > xNewDoc( getModel(), uno::UNO_QUERY );
const char* sSeries[] = {"values-first","values-max","values-min","values-last",nullptr};
for( sal_Int32 idx = 0; sSeries[idx] != nullptr ; idx++ )
@@ -2260,7 +2259,6 @@ void ChartExport::exportCandleStickSeries(
void ChartExport::exportSeriesText( const Reference< chart2::data::XDataSequence > & xValueSeq )
{
FSHelperPtr pFS = GetFS();
- Reference< chart2::XChartDocument > xNewDoc( getModel(), uno::UNO_QUERY );
pFS->startElement( FSNS( XML_c, XML_tx ),
FSEND );
@@ -2296,7 +2294,6 @@ void ChartExport::exportSeriesText( const Reference< chart2::data::XDataSequence
void ChartExport::exportSeriesCategory( const Reference< chart2::data::XDataSequence > & xValueSeq )
{
FSHelperPtr pFS = GetFS();
- Reference< chart2::XChartDocument > xNewDoc( getModel(), uno::UNO_QUERY );
pFS->startElement( FSNS( XML_c, XML_cat ),
FSEND );
@@ -2339,7 +2336,6 @@ void ChartExport::exportSeriesCategory( const Reference< chart2::data::XDataSequ
void ChartExport::exportSeriesValues( const Reference< chart2::data::XDataSequence > & xValueSeq, sal_Int32 nValueType )
{
FSHelperPtr pFS = GetFS();
- Reference< chart2::XChartDocument > xNewDoc( getModel(), uno::UNO_QUERY );
pFS->startElement( FSNS( XML_c, nValueType ),
FSEND );
@@ -2449,7 +2445,6 @@ void ChartExport::InitPlotArea( )
xDiagramProperties->getPropertyValue("Dim3D") >>= mbIs3DChart;
- Reference< chart2::XChartDocument > xNewDoc( getModel(), uno::UNO_QUERY );
if( mbHasCategoryLabels && mxNewDiagram.is())
{
Reference< chart2::data::XLabeledDataSequence > xCategories( lcl_getCategories( mxNewDiagram ) );