summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
Diffstat (limited to 'uui')
-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;
}