summaryrefslogtreecommitdiff
path: root/cui/source/inc/dlgname.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-11 11:11:40 +0200
committerNoel Grandin <noel@peralex.com>2016-05-11 11:12:30 +0200
commit08234bab5e3287724344cd127ea88090561d9fc0 (patch)
tree5941786567e0da48741f5a75557d0a29a89e525f /cui/source/inc/dlgname.hxx
parent307ab87fecb702b3aa72525ce4556b9c49fa5515 (diff)
Convert MESS_BTN to scoped enum
Change-Id: I9332216f58268b20b3b8e9488471279d70c519ad
Diffstat (limited to 'cui/source/inc/dlgname.hxx')
-rw-r--r--cui/source/inc/dlgname.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/cui/source/inc/dlgname.hxx b/cui/source/inc/dlgname.hxx
index 3576b29ce9e7..ac183a88e7fc 100644
--- a/cui/source/inc/dlgname.hxx
+++ b/cui/source/inc/dlgname.hxx
@@ -124,6 +124,10 @@ public:
void GetDescription(OUString& rDescription) {rDescription = pEdtDescription->GetText(); }
};
+enum class SvxMessDialogButton {
+ N1, N2
+};
+
/// Dialog to cancel, save, or add
class SvxMessDialog : public ModalDialog
{
@@ -142,7 +146,7 @@ public:
virtual ~SvxMessDialog();
virtual void dispose() override;
- void SetButtonText( sal_uInt16 nBtnId, const OUString& rNewTxt );
+ void SetButtonText( SvxMessDialogButton nBtnId, const OUString& rNewTxt );
};