summaryrefslogtreecommitdiff
path: root/sc/source/ui/namedlg
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-11-23 08:49:37 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-11-23 09:01:40 +0100
commit68c591429fd0fc6189d53d4f718fb3edf9038dfb (patch)
treedf4211215da27a63df76988a9ff493a750c6f361 /sc/source/ui/namedlg
parent6a56210854bc6600f559589531617fb65e250870 (diff)
ManageNames: set correct text for multiselection
Diffstat (limited to 'sc/source/ui/namedlg')
-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 f0c3b3fc9686..d21355cbc201 100644
--- a/sc/source/ui/namedlg/namedlg.cxx
+++ b/sc/source/ui/namedlg/namedlg.cxx
@@ -106,6 +106,7 @@ ScNameDlg::ScNameDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
maErrInvalidNameStr( ResId::toString(ScResId(STR_ERR_NAME_INVALID))),
maErrNameInUse ( ResId::toString(ScResId(STR_ERR_NAME_EXISTS))),
maStrInfoDefault ( ResId::toString(ScResId(STR_DEFAULT_INFO))),
+ maStrMultiSelect ( ResId::toString(ScResId(STR_MULTI_SELECT))),
//
mpViewData ( ptrViewData ),
mpDoc ( ptrViewData->GetDocument() ),
@@ -444,6 +445,9 @@ void ScNameDlg::SelectionChanged()
if (mpRangeManagerTable->IsMultiSelection())
{
+ maEdName.SetText(maStrMultiSelect);
+ maEdAssign.SetText(maStrMultiSelect);
+
maEdName.Disable();
maEdAssign.Disable();
maLbScope.Disable();