diff options
Diffstat (limited to 'sd/source/ui/view/drviews6.cxx')
-rw-r--r-- | sd/source/ui/view/drviews6.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sd/source/ui/view/drviews6.cxx b/sd/source/ui/view/drviews6.cxx index 6aa6238d3350..14f7e6cb299b 100644 --- a/sd/source/ui/view/drviews6.cxx +++ b/sd/source/ui/view/drviews6.cxx @@ -301,19 +301,18 @@ void DrawViewShell::ExecBmpMask( SfxRequest& rReq ) if ( pObj && !mpDrawView->IsTextEdit() ) { SdrGrafObj* pNewObj = (SdrGrafObj*) pObj->Clone(); - sal_Bool bCont = sal_True; + bool bCont = true; if( pNewObj->IsLinkedGraphic() ) { - QueryBox aQBox( (Window*) GetActiveWindow(), WB_YES_NO | WB_DEF_YES, - SD_RESSTR( STR_RELEASE_GRAPHICLINK ) ); + MessageDialog aQueryBox( (Window*) GetActiveWindow(),"QueryUnlinkImageDialog","modules/sdraw/ui/queryunlinkimagedialog.ui"); - if( RET_YES == aQBox.Execute() ) + if (RET_YES == aQueryBox.Execute()) pNewObj->ReleaseGraphicLink(); else { delete pNewObj; - bCont = sal_False; + bCont = false; } } |