diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-05-01 10:08:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-01 14:42:04 +0100 |
commit | 26bda9f4a82c9b1956a10e3dc52a99bc2f850ada (patch) | |
tree | 37766d78617725fdf87084cebb13a93111b35a6c /sw | |
parent | 1680b036c5a9bf50b10580ee995f91ca6f873ef5 (diff) |
convert message box return types to an enum
Change-Id: I20889dc94aac1119c1ee9da873ce911887c1c335
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/fldui/fldedt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/fldui/fldedt.cxx b/sw/source/ui/fldui/fldedt.cxx index 41320d4c774e..b376360a1fdf 100644 --- a/sw/source/ui/fldui/fldedt.cxx +++ b/sw/source/ui/fldui/fldedt.cxx @@ -248,7 +248,7 @@ IMPL_LINK_NOARG(SwFldEditDlg, OKHdl) short SwFldEditDlg::Execute() { // without TabPage no dialog - return GetTabPage() ? Dialog::Execute() : RET_CANCEL; + return GetTabPage() ? Dialog::Execute() : static_cast<short>(RET_CANCEL); } /*-------------------------------------------------------------------- |