From c28b0ca3519a54c81a67ff2c9f44cd0c1e3f12a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Timm?= Date: Mon, 29 Jan 2007 15:51:37 +0000 Subject: [PATCH] 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 --- basctl/source/dlged/dlgedobj.cxx | 11 +++++++++-- 1 file 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