From 32ce5fe4ed19a79b6f15a5d4d1892e6cc8d778d9 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Thu, 23 Nov 2023 17:06:51 +0100 Subject: tdf#158336: Only Change current table For that, use the same logic as TryBoxNmToPtr Regression from 0c008ab081aa5bbf53f8562e95e547deae5afc2e "tdf#157132: restore behaviour for TBL_RELBOXNAME" Change-Id: I8f93ad3a9686001fd6bd7226400925e43b81ec23 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159865 Tested-by: Jenkins Reviewed-by: Xisco Fauli --- sw/inc/cellatr.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sw/inc') diff --git a/sw/inc/cellatr.hxx b/sw/inc/cellatr.hxx index 2c00b5321190..54ddf2caa5ba 100644 --- a/sw/inc/cellatr.hxx +++ b/sw/inc/cellatr.hxx @@ -75,6 +75,7 @@ public: { return const_cast(this)->GetTableBox(); } void TryBoxNmToPtr(); + void TryRelBoxNm(); void ToSplitMergeBoxNmWithHistory(SwTableFormulaUpdate& rUpdate, SwHistory* pHistory); void ChangeState() { -- cgit