diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-08-17 06:05:20 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-08-17 08:17:11 +0200 |
commit | 1ecf44c57dae3d810a77e78351c10c5b55239faa (patch) | |
tree | 4074f6cea38d457cb7ba1736c6f0c91d8100d973 /sw | |
parent | 86a5c48cdce4b8392ade2858d7835b48af8afc00 (diff) |
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.kaganski@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/textboxhelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |