diff options
author | Manal Alhassoun <malhassoun@kacst.edu.sa> | 2013-11-18 13:42:05 +0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-11-20 03:50:29 -0600 |
commit | 533b91f87be3147a9a6bdb2e1b20165aa4921e37 (patch) | |
tree | 2323d0874a57d42555af0eb1fbf6cc68e04eb56c /cui/source | |
parent | 530f091d2166c3bc1c0abefaf45e3994ef7d8c66 (diff) |
convert delete hatch querybox to .ui
Change-Id: If550ac8ad58ea7ff05650692d1a506c5088d05e2
Reviewed-on: https://gerrit.libreoffice.org/6708
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/inc/cuires.hrc | 1 | ||||
-rw-r--r-- | cui/source/tabpages/strings.src | 4 | ||||
-rw-r--r-- | cui/source/tabpages/tphatch.cxx | 3 |
3 files changed, 1 insertions, 7 deletions
diff --git a/cui/source/inc/cuires.hrc b/cui/source/inc/cuires.hrc index 4a887c292435..99fdaa25de62 100644 --- a/cui/source/inc/cuires.hrc +++ b/cui/source/inc/cuires.hrc @@ -86,7 +86,6 @@ #define RID_SVXSTR_ASK_CHANGE_LINESTYLE (RID_SVX_START + 177) #define RID_SVXSTR_DESC_HATCH (RID_SVX_START + 232) -#define RID_SVXSTR_ASK_DEL_HATCH (RID_SVX_START + 234) #define RID_SVXSTR_ASK_CHANGE_HATCH (RID_SVX_START + 235) #define RID_SVXSTR_CHANGE (RID_SVX_START + 181) #define RID_SVXSTR_ADD (RID_SVX_START + 182) diff --git a/cui/source/tabpages/strings.src b/cui/source/tabpages/strings.src index 6d9d5243f7c2..db8c177411b6 100644 --- a/cui/source/tabpages/strings.src +++ b/cui/source/tabpages/strings.src @@ -59,10 +59,6 @@ String RID_SVXSTR_DESC_HATCH { Text [ en-US ] = "Please enter a name for the hatching:" ; }; -String RID_SVXSTR_ASK_DEL_HATCH -{ - Text [ en-US ] = "Do you want to delete the hatching?" ; -}; String RID_SVXSTR_ASK_CHANGE_HATCH { Text [ en-US ] = "The hatching type was modified but not saved. \nModify the selected hatching type or add a new hatching type." ; diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx index d6c4d60575b2..6ebda18f8025 100644 --- a/cui/source/tabpages/tphatch.cxx +++ b/cui/source/tabpages/tphatch.cxx @@ -626,8 +626,7 @@ IMPL_LINK_NOARG(SvxHatchTabPage, ClickDeleteHdl_Impl) if( nPos != LISTBOX_ENTRY_NOTFOUND ) { - QueryBox aQueryBox( GetParentDialog(), WinBits( WB_YES_NO | WB_DEF_NO ), - OUString( CUI_RES( RID_SVXSTR_ASK_DEL_HATCH ) ) ); + MessageDialog aQueryBox( GetParentDialog(),"AskDelHatchDialog","cui/ui/querydeletehatchdialog.ui"); if( aQueryBox.Execute() == RET_YES ) { |