summaryrefslogtreecommitdiff
path: root/uui/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-05-01 10:08:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-05-01 14:42:04 +0100
commit26bda9f4a82c9b1956a10e3dc52a99bc2f850ada (patch)
tree37766d78617725fdf87084cebb13a93111b35a6c /uui/source
parent1680b036c5a9bf50b10580ee995f91ca6f873ef5 (diff)
convert message box return types to an enum
Change-Id: I20889dc94aac1119c1ee9da873ce911887c1c335
Diffstat (limited to 'uui/source')
-rw-r--r--uui/source/iahndl-errorhandler.cxx10
-rw-r--r--uui/source/iahndl.cxx10
2 files changed, 10 insertions, 10 deletions
diff --git a/uui/source/iahndl-errorhandler.cxx b/uui/source/iahndl-errorhandler.cxx
index 3208d23eba6a..beedaab3ed22 100644
--- a/uui/source/iahndl-errorhandler.cxx
+++ b/uui/source/iahndl-errorhandler.cxx
@@ -106,19 +106,19 @@ executeErrorDialog(
sal_uInt16 aResult = xBox->Execute();
switch( aResult )
{
- case BUTTONID_OK:
+ case RET_OK:
aResult = ERRCODE_BUTTON_OK;
break;
- case BUTTONID_CANCEL:
+ case RET_CANCEL:
aResult = ERRCODE_BUTTON_CANCEL;
break;
- case BUTTONID_YES:
+ case RET_YES:
aResult = ERRCODE_BUTTON_YES;
break;
- case BUTTONID_NO:
+ case RET_NO:
aResult = ERRCODE_BUTTON_NO;
break;
- case BUTTONID_RETRY:
+ case RET_RETRY:
aResult = ERRCODE_BUTTON_RETRY;
break;
}
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx
index 77fa9baa2587..c14784b2d50a 100644
--- a/uui/source/iahndl.cxx
+++ b/uui/source/iahndl.cxx
@@ -1080,19 +1080,19 @@ executeMessageBox(
sal_uInt16 aResult = xBox.Execute();
switch( aResult )
{
- case BUTTONID_OK:
+ case RET_OK:
aResult = ERRCODE_BUTTON_OK;
break;
- case BUTTONID_CANCEL:
+ case RET_CANCEL:
aResult = ERRCODE_BUTTON_CANCEL;
break;
- case BUTTONID_YES:
+ case RET_YES:
aResult = ERRCODE_BUTTON_YES;
break;
- case BUTTONID_NO:
+ case RET_NO:
aResult = ERRCODE_BUTTON_NO;
break;
- case BUTTONID_RETRY:
+ case RET_RETRY:
aResult = ERRCODE_BUTTON_RETRY;
break;
}