summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/fuins1.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-05-19 23:19:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-05-20 15:21:51 +0100
commitb1e22fb2b16a50869e74f7e1b7b08ea4eefa6a36 (patch)
treeb96b7d7b97e111c1a7ae8794c22b1e22354b200f /sc/source/ui/drawfunc/fuins1.cxx
parentc917d67a892d14fa6590b8a19aa009c5e83c3fd4 (diff)
adjust for return by ref instead of pointer
Diffstat (limited to 'sc/source/ui/drawfunc/fuins1.cxx')
-rw-r--r--sc/source/ui/drawfunc/fuins1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/fuins1.cxx b/sc/source/ui/drawfunc/fuins1.cxx
index 33eb9f8882ad..8231077c9a0d 100644
--- a/sc/source/ui/drawfunc/fuins1.cxx
+++ b/sc/source/ui/drawfunc/fuins1.cxx
@@ -224,7 +224,7 @@ FuInsertGraphic::FuInsertGraphic( ScTabViewShell* pViewSh,
bAsLink = ((const SfxBoolItem*)pItem)->GetValue();
Graphic aGraphic;
- int nError = GraphicFilter::LoadGraphic( aFileName, aFilterName, aGraphic, GraphicFilter::GetGraphicFilter() );
+ int nError = GraphicFilter::LoadGraphic( aFileName, aFilterName, aGraphic, &GraphicFilter::GetGraphicFilter() );
if ( nError == GRFILTER_OK )
{
lcl_InsertGraphic( aGraphic, aFileName, aFilterName, bAsLink, sal_True, pViewSh, pWindow, pView );