sw/source/core/doc/textboxhelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1ecf44c57dae3d810a77e78351c10c5b55239faa
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Sat Aug 17 06:05:20 2024 +0200
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Sat Aug 17 08:17:11 2024 +0200

    Fix wrong = where == was intended
    
    Introduced in commit cd740ff560a88a62bc79f5ea5b92bdadf71ba728.
    Thanks Caolan for spotting this!
    
    Change-Id: Ieb046013f7bd09b539b01b5d360f52a9cb39e245
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171783
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>
    Tested-by: Jenkins

diff --git a/sw/source/core/doc/textboxhelper.cxx 
b/sw/source/core/doc/textboxhelper.cxx
index a9492e6984b3..b51a5f3c8b5c 100644
--- a/sw/source/core/doc/textboxhelper.cxx
+++ b/sw/source/core/doc/textboxhelper.cxx
@@ -65,7 +65,7 @@ void SwTextBoxHelper::create(SwFrameFormat* pShape, 
SdrObject* pObject, bool bCo
 {
     assert(pShape);
     assert(pObject);
-    assert(pShape = ::FindFrameFormat(pObject));
+    assert(pShape == ::FindFrameFormat(pObject));
 
     // If TextBox wasn't enabled previously
     if (pShape->GetOtherTextBoxFormats() && 
pShape->GetOtherTextBoxFormats()->GetTextBox(pObject))

Reply via email to