summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-12-04 19:16:30 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-12-05 01:44:05 +0100
commitf384caf0a8d137166cdc5d24c8577ae24bb93409 (patch)
tree0f90beab458419e8c209eb4dfb673ea4e213f600
parentb7b927e5b4d76f4edb9e1c7f115dfbf5a2eae48f (diff)
don't show the warning message if the name is correct
-rw-r--r--sc/source/ui/namedlg/namedlg.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/namedlg/namedlg.cxx b/sc/source/ui/namedlg/namedlg.cxx
index 03b61a7d1971..a4859865617f 100644
--- a/sc/source/ui/namedlg/namedlg.cxx
+++ b/sc/source/ui/namedlg/namedlg.cxx
@@ -404,6 +404,10 @@ void ScNameDlg::NameModified()
if (!IsNameValid())
return;
}
+ else
+ {
+ maFtInfo.SetText( maStrInfoDefault );
+ }
if (!IsFormulaValid())
{