sw/source/ui/dialog/ascfldlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7786bafdb8951aa3f0acda801ddb3704c81d00d8
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Thu Aug 11 14:28:19 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Fri Aug 12 08:03:44 2022 +0200

    workaround -Wenum-constexpr-conversion
    
    in clang-16
    
    Change-Id: Iffacc1cc93642f150b2eab4693ff55bf8842a006
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138142
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/sw/source/ui/dialog/ascfldlg.cxx b/sw/source/ui/dialog/ascfldlg.cxx
index e37b9d2131ff..036159ec1aaa 100644
--- a/sw/source/ui/dialog/ascfldlg.cxx
+++ b/sw/source/ui/dialog/ascfldlg.cxx
@@ -418,7 +418,7 @@ IMPL_LINK_NOARG(SwAsciiFilterDlg, CharSetSelHdl, 
weld::ComboBox&, void)
     }
 
     m_bSaveLineStatus = false;
-    if( eEnd != LineEnd(-1) )       // changed?
+    if( static_cast<int>(eEnd) != -1 )       // changed?
     {
         if( eOldEnd != eEnd )
             SetCRLF( eEnd );

Reply via email to