diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-25 08:41:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-25 12:27:51 +0100 |
commit | 8ab6621cac3a43acfb61222dbf434df496230b36 (patch) | |
tree | 3d9a72cd2f87fb4b8bbe8611723d6a321a23d4e3 /svx/source/dialog/docrecovery.cxx | |
parent | 57a4337e254b485df33dc01e508bb936adc6ec75 (diff) |
QueryBox RID_QRY_REMOVE_* -> MessageDialog + string
Change-Id: Ife33eeaf38daf1aebc1ea35634ca56fae5c89d34
Diffstat (limited to 'svx/source/dialog/docrecovery.cxx')
-rw-r--r-- | svx/source/dialog/docrecovery.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index be7e9da21b6c..34de399fedb2 100644 --- a/svx/source/dialog/docrecovery.cxx +++ b/svx/source/dialog/docrecovery.cxx @@ -33,7 +33,7 @@ #include <vcl/xtextedt.hxx> #include <vcl/settings.hxx> #include <tools/urlobj.hxx> -#include <vcl/msgbox.hxx> +#include <vcl/layout.hxx> #include <vcl/svapp.hxx> #include <rtl/ustrbuf.hxx> #include <vcl/scrbar.hxx> @@ -822,7 +822,7 @@ void RecovDocList::InitEntry(SvTreeListEntry* pEntry, short impl_askUserForWizardCancel(Window* pParent, sal_Int16 nRes) { - QueryBox aQuery(pParent, SVX_RES(nRes)); + MessageDialog aQuery(pParent, SVX_RES(nRes), VCL_MESSAGE_QUESTION, VCL_BUTTONS_YES_NO); if (aQuery.Execute() == RET_YES) return DLG_RET_OK; else @@ -1150,7 +1150,7 @@ IMPL_LINK_NOARG(RecoveryDialog, CancelButtonHdl) switch (m_eRecoveryState) { case RecoveryDialog::E_RECOVERY_PREPARED: - if (impl_askUserForWizardCancel(this, RID_SVXQB_EXIT_RECOVERY) != DLG_RET_CANCEL) + if (impl_askUserForWizardCancel(this, RID_SVXSTR_QUERY_EXIT_RECOVERY) != DLG_RET_CANCEL) { m_eRecoveryState = RecoveryDialog::E_RECOVERY_CANCELED; execute(); |