summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/sdview4.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-05-19 23:10:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-05-20 15:22:48 +0100
commitbca3c4624945249f66e8aa8e669d89171e7ecb14 (patch)
treea0d18eefeec2ac48ccd7354016e40e97d5d6fa79 /sd/source/ui/view/sdview4.cxx
parent505ac74dc69d7b0a45860178acb6d2406f926b9d (diff)
adjust for return by ref instead of pointer
Diffstat (limited to 'sd/source/ui/view/sdview4.cxx')
-rw-r--r--sd/source/ui/view/sdview4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/sdview4.cxx b/sd/source/ui/view/sdview4.cxx
index 0d389004e8ac..e3ea7182ece5 100644
--- a/sd/source/ui/view/sdview4.cxx
+++ b/sd/source/ui/view/sdview4.cxx
@@ -386,14 +386,14 @@ IMPL_LINK( View, DropInsertFileHdl, Timer*, EMPTYARG )
aURL = INetURLObject( aURLStr );
}
- GraphicFilter* pGraphicFilter = GraphicFilter::GetGraphicFilter();
+ GraphicFilter& rGraphicFilter = GraphicFilter::GetGraphicFilter();
Graphic aGraphic;
aCurrentDropFile = aURL.GetMainURL( INetURLObject::NO_DECODE );
if( !::avmedia::MediaWindow::isMediaURL( aCurrentDropFile ) )
{
- if( !pGraphicFilter->ImportGraphic( aGraphic, aURL ) )
+ if( !rGraphicFilter.ImportGraphic( aGraphic, aURL ) )
{
sal_Int8 nTempAction = ( aIter == maDropFileVector.begin() ) ? mnAction : 0;
InsertGraphic( aGraphic, nTempAction, maDropPos, NULL, NULL );