diff options
Diffstat (limited to 'sd/source/ui/view/drviews2.cxx')
-rw-r--r-- | sd/source/ui/view/drviews2.cxx | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index 248092c06416..3348594ffdc7 100644 --- a/sd/source/ui/view/drviews2.cxx +++ b/sd/source/ui/view/drviews2.cxx @@ -3440,8 +3440,8 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) } break; - case SID_PHOTOALBUM: - { + case SID_PHOTOALBUM: + { SdAbstractDialogFactory* pFact = SdAbstractDialogFactory::Create(); vcl::Window* pWin = GetActiveWindow(); ScopedVclPtr<VclAbstractDialog> pDlg(pFact->CreateSdPhotoAlbumDialog( @@ -3456,7 +3456,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) case SID_INSERT_QRCODE: case SID_EDIT_QRCODE: - { + { VclAbstractDialogFactory* pFact = VclAbstractDialogFactory::Create(); const uno::Reference<frame::XModel> xModel = GetViewShellBase().GetController()->getModel(); ScopedVclPtr<AbstractQrCodeGenDialog> pDlg(pFact->CreateQrCodeGenDialog( @@ -3467,6 +3467,15 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) } break; + case SID_ATTR_GLOW: + case SID_ATTR_GLOW_COLOR: + case SID_ATTR_GLOW_RADIUS: + if (const SfxItemSet* pNewArgs = rReq.GetArgs()) + mpDrawView->SetAttributes(*pNewArgs); + rReq.Done(); + Cancel(); + break; + default: { SAL_WARN( "sd.ui", "Slot without function" ); |