sw/source/uibase/wrtsh/wrtsh2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9c55f8607fa44475ed574ac9e941fc2c0c111a2e
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Sun Oct 20 11:04:05 2024 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Fri Nov 15 14:57:14 2024 +0100

    tdf#163486: PVS: fix assert
    
    V547    Expression '!"unknown reference mark type"' is always false.
    
    Change-Id: I7f984c0e008924b23e3a2384c2e36390bf76cfec
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175252
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/sw/source/uibase/wrtsh/wrtsh2.cxx 
b/sw/source/uibase/wrtsh/wrtsh2.cxx
index 829d7f3b6459..c7f8e2eb6182 100644
--- a/sw/source/uibase/wrtsh/wrtsh2.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh2.cxx
@@ -852,7 +852,7 @@ void SwWrtShell::NavigatorPaste(const NaviContentBookmark& 
rBkmk)
             eRefMarkType = REFERENCEMARK::REF_ONLYSEQNO;
         else
         {
-            assert(!"unknown reference mark type");
+            assert(false && "unknown reference mark type");
             return;
         }
 

Reply via email to