summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/main/ShapeController.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/main/ShapeController.cxx')
-rw-r--r--chart2/source/controller/main/ShapeController.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ShapeController.cxx b/chart2/source/controller/main/ShapeController.cxx
index 97715b07c2..115229de0e 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 );
}