summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-01-29 15:51:37 +0000
committerRüdiger Timm <rt@openoffice.org>2007-01-29 15:51:37 +0000
commitc28b0ca3519a54c81a67ff2c9f44cd0c1e3f12a7 (patch)
tree30e786697809daef6b7131817402b06882c5163d /basctl
parent42e1c9582b94fce80a4c8756fcae112c71c2c048 (diff)
INTEGRATION: CWS ab32 (1.43.6); FILE MERGED
2007/01/18 13:54:52 ab 1.43.6.1: #i73077# Rename Resource IDs according to renamed dialog/control
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/dlged/dlgedobj.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx
index 4454fc9fa309..f6ed4ed23cf6 100644
--- a/basctl/source/dlged/dlgedobj.cxx
+++ b/basctl/source/dlged/dlgedobj.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: dlgedobj.cxx,v $
*
- * $Revision: 1.46 $
+ * $Revision: 1.47 $
*
- * last change: $Author: obo $ $Date: 2007-01-25 12:01:11 $
+ * last change: $Author: rt $ $Date: 2007-01-29 16:51:37 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -615,6 +615,13 @@ void SAL_CALL DlgEdObj::NameChange( const ::com::sun::star::beans::PropertyChan
aAny <<= xCtrl;
xCont->removeByName( aOldName );
xCont->insertByName( aNewName , aAny );
+
+ DlgEditor* pEditor;
+ if ( ISA(DlgEdForm) )
+ pEditor = ((DlgEdForm*)this)->GetDlgEditor();
+ else
+ pEditor = GetDlgEdForm()->GetDlgEditor();
+ LocalizationMgr::renameControlResourceIDsForEditorObject( pEditor, aAny, aNewName );
}
}
else