summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/app/strings.src4
-rw-r--r--sd/source/ui/inc/strings.hrc2
-rw-r--r--sd/source/ui/view/drviews6.cxx9
3 files changed, 4 insertions, 11 deletions
diff --git a/sd/source/ui/app/strings.src b/sd/source/ui/app/strings.src
index b7f916c3208b..b8b523770bc4 100644
--- a/sd/source/ui/app/strings.src
+++ b/sd/source/ui/app/strings.src
@@ -798,10 +798,6 @@ String STR_FILEFORMAT_NAME
{
Text [ en-US ] = "File name without extension" ;
};
-String STR_RELEASE_GRAPHICLINK
-{
- Text [ en-US ] = "This image is linked to a document. Do you want to unlink the image in order to edit it?" ;
-};
String STR_NEW_CUSTOMSHOW
{
Text [ en-US ] = "New Custom Slide Show" ;
diff --git a/sd/source/ui/inc/strings.hrc b/sd/source/ui/inc/strings.hrc
index 819d31d2c094..dcc60424cf49 100644
--- a/sd/source/ui/inc/strings.hrc
+++ b/sd/source/ui/inc/strings.hrc
@@ -284,8 +284,6 @@
#define STR_FILEFORMAT_PATH (RID_APP_START+509)
#define STR_FILEFORMAT_NAME (RID_APP_START+510)
-#define STR_RELEASE_GRAPHICLINK (RID_APP_START+511)
-
#define STR_NEW_CUSTOMSHOW (RID_APP_START+512)
#define STR_COPY_CUSTOMSHOW (RID_APP_START+513)
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;
}
}