correct diagnostic message
This commit is contained in:
@@ -535,7 +535,7 @@ void OCollection::renameObject(const ::rtl::OUString _sOldName,const ::rtl::OUSt
|
||||
OSL_ENSURE(m_pElements->exists(_sOldName),"Element doesn't exist");
|
||||
OSL_ENSURE(!m_pElements->exists(_sNewName),"Element already exists");
|
||||
OSL_ENSURE(!_sNewName.isEmpty(),"New name must not be empty!");
|
||||
OSL_ENSURE(!_sOldName.isEmpty(),"New name must not be empty!");
|
||||
OSL_ENSURE(!_sOldName.isEmpty(),"Old name must not be empty!");
|
||||
|
||||
if ( m_pElements->rename(_sOldName,_sNewName) )
|
||||
{
|
||||
|
Reference in New Issue
Block a user