summaryrefslogtreecommitdiff
path: root/vcl/unx/x11
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-06 14:21:26 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-05-07 13:27:55 +0000
commit2c8dc0373377a6e801c9a9246ffdc3641f3be4ec (patch)
tree12389cf068030129f4d9b9fc51e12bad45957888 /vcl/unx/x11
parent90d8bf72d9ea8fa678707326a3cc4b84fae154a1 (diff)
convert BUTTONDIALOG constants to scoped enum
Change-Id: Icbf73fe55ad604f762dd2b98fd39189bab82f061 Reviewed-on: https://gerrit.libreoffice.org/15648 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/unx/x11')
-rw-r--r--vcl/unx/x11/x11sys.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/x11/x11sys.cxx b/vcl/unx/x11/x11sys.cxx
index 6723c63b8047..e3eb453fcb37 100644
--- a/vcl/unx/x11/x11sys.cxx
+++ b/vcl/unx/x11/x11sys.cxx
@@ -141,7 +141,7 @@ int X11SalSystem::ShowNativeDialog( const OUString& rTitle, const OUString& rMes
sal_uInt16 nButton = 0;
for( std::list< OUString >::const_iterator it = rButtons.begin(); it != rButtons.end(); ++it )
{
- aWarn->AddButton( *it, nButton+1, nButton == (sal_uInt16)nDefButton ? BUTTONDIALOG_DEFBUTTON : 0 );
+ aWarn->AddButton( *it, nButton+1, nButton == (sal_uInt16)nDefButton ? ButtonDialogFlags::Default : ButtonDialogFlags::NONE );
nButton++;
}
aWarn->SetFocusButton( (sal_uInt16)nDefButton+1 );