summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-11 15:40:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-12 09:56:01 +0200
commit389da66dfc96d06c407bff156c4ea21e940c5e06 (patch)
tree2d1ebce6bdb2d952700ed5aaeb808289e9f72a7d /sd
parenta651dbcfca9e198b5c2561076961504586bc6bea (diff)
remove unused uno::Reference vars
found by temporarily marking Reference as SAL_WARN_UNUSED. Change-Id: I18809b62654467f890016adcc92576980ced393b Reviewed-on: https://gerrit.libreoffice.org/37511 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/CustomAnimationPreset.cxx3
-rw-r--r--sd/source/core/TransitionPreset.cxx3
-rw-r--r--sd/source/filter/xml/sdxmlwrp.cxx3
-rw-r--r--sd/source/ui/animations/motionpathtag.cxx2
-rw-r--r--sd/source/ui/framework/factories/BasicViewFactory.cxx1
-rw-r--r--sd/source/ui/unoidl/unopage.cxx1
6 files changed, 0 insertions, 13 deletions
diff --git a/sd/source/core/CustomAnimationPreset.cxx b/sd/source/core/CustomAnimationPreset.cxx
index ff9aee30b2b1..41ae7cfd8b24 100644
--- a/sd/source/core/CustomAnimationPreset.cxx
+++ b/sd/source/core/CustomAnimationPreset.cxx
@@ -301,9 +301,6 @@ void CustomAnimationPresets::importEffects()
Reference< XMultiServiceFactory > xServiceFactory(
xContext->getServiceManager(), UNO_QUERY_THROW );
- uno::Reference< util::XMacroExpander > xMacroExpander =
- util::theMacroExpander::get(xContext);
-
Reference< XMultiServiceFactory > xConfigProvider =
configuration::theDefaultProvider::get( xContext );
diff --git a/sd/source/core/TransitionPreset.cxx b/sd/source/core/TransitionPreset.cxx
index 5bc606d6785e..938cfaa41c43 100644
--- a/sd/source/core/TransitionPreset.cxx
+++ b/sd/source/core/TransitionPreset.cxx
@@ -201,9 +201,6 @@ bool TransitionPreset::importTransitionPresetList( TransitionPresetList& rList )
Reference< XMultiServiceFactory > xServiceFactory(
xContext->getServiceManager(), UNO_QUERY_THROW );
- uno::Reference< util::XMacroExpander > xMacroExpander =
- util::theMacroExpander::get(xContext);
-
// import ui strings
Reference< XMultiServiceFactory > xConfigProvider =
configuration::theDefaultProvider::get( xContext );
diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx
index 63964b6283f3..c4df696242b2 100644
--- a/sd/source/filter/xml/sdxmlwrp.cxx
+++ b/sd/source/filter/xml/sdxmlwrp.cxx
@@ -499,8 +499,6 @@ bool SdXMLFilter::Import( ErrCode& nError )
}
}
- Reference< io::XActiveDataSource > xSource;
- Reference< XInterface > xPipe;
Reference< document::XGraphicObjectResolver > xGraphicResolver;
SvXMLGraphicHelper *pGraphicHelper = nullptr;
Reference< document::XEmbeddedObjectResolver > xObjectResolver;
@@ -543,7 +541,6 @@ bool SdXMLFilter::Import( ErrCode& nError )
// get the input stream (storage or stream)
tools::SvRef<SotStorageStream> xDocStream;
- Reference<io::XInputStream> xInputStream;
uno::Reference < embed::XStorage > xStorage = mrMedium.GetStorage();
OUString sSourceStorage( "SourceStorage");
diff --git a/sd/source/ui/animations/motionpathtag.cxx b/sd/source/ui/animations/motionpathtag.cxx
index 4ce9ad62bc66..9de47d3750b4 100644
--- a/sd/source/ui/animations/motionpathtag.cxx
+++ b/sd/source/ui/animations/motionpathtag.cxx
@@ -355,7 +355,6 @@ MotionPathTag::MotionPathTag( CustomAnimationPane& rPane, ::sd::View& rView, con
Reference< XChangesNotifier > xNotifier( mpEffect->getNode(), UNO_QUERY );
if( xNotifier.is() )
{
- Reference< XChangesListener > xListener( this );
xNotifier->addChangesListener( this );
}
}
@@ -984,7 +983,6 @@ void MotionPathTag::disposing()
Reference< XChangesNotifier > xNotifier( mpEffect->getNode(), UNO_QUERY );
if( xNotifier.is() )
{
- Reference< XChangesListener > xListener( this );
xNotifier->removeChangesListener( this );
}
diff --git a/sd/source/ui/framework/factories/BasicViewFactory.cxx b/sd/source/ui/framework/factories/BasicViewFactory.cxx
index a537cb6a5574..a03bff816801 100644
--- a/sd/source/ui/framework/factories/BasicViewFactory.cxx
+++ b/sd/source/ui/framework/factories/BasicViewFactory.cxx
@@ -239,7 +239,6 @@ void SAL_CALL BasicViewFactory::initialize (const Sequence<Any>& aArguments)
{
if (aArguments.getLength() > 0)
{
- Reference<XConfigurationController> xCC;
try
{
// Get the XController from the first argument.
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx
index 72a4025470e7..8b02b73abe77 100644
--- a/sd/source/ui/unoidl/unopage.cxx
+++ b/sd/source/ui/unoidl/unopage.cxx
@@ -2350,7 +2350,6 @@ Reference< drawing::XDrawPage > SAL_CALL SdDrawPage::getMasterPage( )
if(GetPage())
{
- Reference< drawing::XDrawPages > xPages( GetModel()->getMasterPages() );
Reference< drawing::XDrawPage > xPage;
if(SvxFmDrawPage::mpPage->TRG_HasMasterPage())