diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-01-22 11:39:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-01-22 12:31:20 +0100 |
commit | 0ad94d52c022a0acb20be21b5a1dfcf445e12f0c (patch) | |
tree | 36725076b0dbbbe1b8f0637ee5f42a6c00b66b31 | |
parent | b9368eab798a766b5a24658c783a6ee73dbf2caa (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>
-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 ); } |