diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-01-22 11:39:42 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2024-01-23 10:43:43 +0100 |
commit | 49bb4229ded946a411f2d6677da7f9f4155af941 (patch) | |
tree | 8bc172bdebdfb175658537b61b620957fa90d0ac /chart2/source | |
parent | 3c0a6102ce26c546c0c448a8d7468dea92623273 (diff) |
fix bug in renaming chart objects
introduced by
commit c5bb73cae7c172ad0f02f8c67dd57b53337f1d78
Author: Kohei Yoshida <kohei.yoshida@suse.com>
Date: Tue Jan 31 16:03:46 2012 -0500
Get the whole thing to build after the method sig change in
SdrObject.
Change-Id: I1ca887d09857f6476980381853a9ae4946fd03e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162364
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit 0ad94d52c022a0acb20be21b5a1dfcf445e12f0c)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162377
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/controller/main/ShapeController.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ShapeController.cxx b/chart2/source/controller/main/ShapeController.cxx index 97715b07c295..115229de0e57 100644 --- a/chart2/source/controller/main/ShapeController.cxx +++ b/chart2/source/controller/main/ShapeController.cxx @@ -440,7 +440,7 @@ void ShapeController::executeDispatch_RenameObject() if ( pDlg->Execute() == RET_OK ) { pDlg->GetName(aName); - if (pSelectedObj->GetName() == aName) + if (pSelectedObj->GetName() != aName) { pSelectedObj->SetName( aName ); } |