diff options
Diffstat (limited to 'sd/source/ui/func/fupage.cxx')
-rw-r--r-- | sd/source/ui/func/fupage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fupage.cxx b/sd/source/ui/func/fupage.cxx index e02551a325e4..3b97ae868e91 100644 --- a/sd/source/ui/func/fupage.cxx +++ b/sd/source/ui/func/fupage.cxx @@ -301,12 +301,12 @@ const SfxItemSet* FuPage::ExecuteDialog( vcl::Window* pParent ) const XFillBitmapItem& rBitmap = static_cast<const XFillBitmapItem&>(aMergedAttr.Get(XATTR_FILLBITMAP)); const GraphicObject& rGraphicObj = rBitmap.GetGraphicObject(); - GraphicHelper::ExportGraphic(rGraphicObj.GetGraphic(), ""); + GraphicHelper::ExportGraphic(pParent, rGraphicObj.GetGraphic(), ""); } } else if (nId == SID_SELECT_BACKGROUND) { - SvxOpenGraphicDialog aDlg(SdResId(STR_SET_BACKGROUND_PICTURE)); + SvxOpenGraphicDialog aDlg(SdResId(STR_SET_BACKGROUND_PICTURE), pParent); if( aDlg.Execute() == ERRCODE_NONE ) { |