From 08234bab5e3287724344cd127ea88090561d9fc0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 11 May 2016 11:11:40 +0200 Subject: Convert MESS_BTN to scoped enum Change-Id: I9332216f58268b20b3b8e9488471279d70c519ad --- cui/source/inc/dlgname.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cui/source/inc/dlgname.hxx') 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 ); }; -- cgit