diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-21 12:38:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-21 14:07:54 +0100 |
commit | 566e6fe58ea66722dd0c504f58676b89e8b95621 (patch) | |
tree | b939bec175410da9473f3bfe82153c19cd6cc83a /cui/source/options | |
parent | d27cdf1caf4359b5a8b1b8af1b1ec1ede406d8ad (diff) |
QueryBox RID_SVXQB_DELETE_COLOR_CONFIG -> MessageDialog + string
Change-Id: I3ae71cf2fd4a8cf0db76845c60f633285bd00e27
Diffstat (limited to 'cui/source/options')
-rw-r--r-- | cui/source/options/optcolor.cxx | 4 | ||||
-rw-r--r-- | cui/source/options/optcolor.src | 8 |
2 files changed, 5 insertions, 7 deletions
diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx index e2f853e8f2cf..2bf8b38bd8fb 100644 --- a/cui/source/options/optcolor.cxx +++ b/cui/source/options/optcolor.cxx @@ -1178,8 +1178,8 @@ IMPL_LINK(SvxColorOptionsTabPage, SaveDeleteHdl_Impl, PushButton*, pButton ) else { DBG_ASSERT(m_pColorSchemeLB->GetEntryCount() > 1, "don't delete the last scheme"); - QueryBox aQuery(pButton, CUI_RES(RID_SVXQB_DELETE_COLOR_CONFIG)); - aQuery.SetText(CUI_RES(RID_SVXSTR_COLOR_CONFIG_DELETE)); + MessageDialog aQuery(pButton, CUI_RES(RID_SVXSTR_COLOR_CONFIG_DELETE), VCL_MESSAGE_QUESTION, VCL_BUTTONS_YES_NO); + aQuery.SetText(CUI_RES(RID_SVXSTR_COLOR_CONFIG_DELETE_TITLE)); if(RET_YES == aQuery.Execute()) { OUString sDeleteScheme(m_pColorSchemeLB->GetSelectEntry()); diff --git a/cui/source/options/optcolor.src b/cui/source/options/optcolor.src index cb17c49ac922..2a9af27e71b1 100644 --- a/cui/source/options/optcolor.src +++ b/cui/source/options/optcolor.src @@ -21,13 +21,11 @@ #include "helpid.hrc" #include <cuires.hrc> -QueryBox RID_SVXQB_DELETE_COLOR_CONFIG +String RID_SVXSTR_COLOR_CONFIG_DELETE { - Buttons = WB_YES_NO ; - DefButton = WB_DEF_NO ; - Message [ en-US ] = "Do you really want to delete the color scheme?" ; + Text [ en-US ] = "Do you really want to delete the color scheme?" ; }; -String RID_SVXSTR_COLOR_CONFIG_DELETE +String RID_SVXSTR_COLOR_CONFIG_DELETE_TITLE { Text [ en-US ] = "Color Scheme Deletion" ; }; |