diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-02-21 21:29:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-02-22 09:54:57 +0100 |
commit | 5e85f475eea463e6d5572d24d61e85d24084bd4e (patch) | |
tree | 3c0a63e4d693e35596d3cd366a4e08334c0e1110 /svtools | |
parent | 1cf55d6397418dd3cd86eae59c2f75085dbb0d51 (diff) |
drop unused button mask enum
Change-Id: Id94c6ecdfc642888eea8c13e55d38326b2d7ad12
Reviewed-on: https://gerrit.libreoffice.org/50145
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/misc/ehdl.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/svtools/source/misc/ehdl.cxx b/svtools/source/misc/ehdl.cxx index 6c2406f57ae8..dfd28ac168d6 100644 --- a/svtools/source/misc/ehdl.cxx +++ b/svtools/source/misc/ehdl.cxx @@ -55,12 +55,8 @@ static DialogMask aWndFunc( MessBoxStyle eBits = MessBoxStyle::NONE; if ( (nFlags & (DialogMask::ButtonsCancel | DialogMask::ButtonsRetry)) == (DialogMask::ButtonsCancel | DialogMask::ButtonsRetry)) eBits = MessBoxStyle::RetryCancel; - else if ( (nFlags & DialogMask::ButtonsOkCancel) == DialogMask::ButtonsOkCancel ) - eBits = MessBoxStyle::OkCancel; else if ( (nFlags & DialogMask::ButtonsOk) == DialogMask::ButtonsOk ) eBits = MessBoxStyle::Ok; - else if ( (nFlags & DialogMask::ButtonsYesNoCancel) == DialogMask::ButtonsYesNoCancel ) - eBits = MessBoxStyle::YesNoCancel; else if ( (nFlags & DialogMask::ButtonsYesNo) == DialogMask::ButtonsYesNo ) eBits = MessBoxStyle::YesNo; |