From cb46ad4c4602fbb6aeab482e9370e31495e12cfe Mon Sep 17 00:00:00 2001 From: Rafael Lima Date: Tue, 12 Sep 2023 19:17:47 +0200 Subject: tdf#156815 Reset solver settings when a sheet is renamed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When a sheet is renamed, the SolverSettings object needs to be reset so that the updated references of the named ranges are reloaded the next time the Solver dialog is opened. Change-Id: I8d501bb5b52f6a69bc899a62863893744d80dc69 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156872 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- sc/source/ui/inc/docfunc.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/inc/docfunc.hxx') diff --git a/sc/source/ui/inc/docfunc.hxx b/sc/source/ui/inc/docfunc.hxx index 6419e285d5b7..aa9755566ef3 100644 --- a/sc/source/ui/inc/docfunc.hxx +++ b/sc/source/ui/inc/docfunc.hxx @@ -147,7 +147,7 @@ public: bool bCut, bool bRecord, bool bPaint, bool bApi ); SC_DLLPUBLIC bool InsertTable( SCTAB nTab, const OUString& rName, bool bRecord, bool bApi ); - bool RenameTable( SCTAB nTab, const OUString& rName, bool bRecord, bool bApi ); + SC_DLLPUBLIC bool RenameTable( SCTAB nTab, const OUString& rName, bool bRecord, bool bApi ); bool DeleteTable( SCTAB nTab, bool bRecord ); bool SetTabBgColor( SCTAB nTab, const Color& rColor, bool bRecord, bool bApi ); -- cgit