Kaydet (Commit) d18daeff authored tarafından Ivan Timofeev's avatar Ivan Timofeev

correct diagnostic message

üst 198a9986
......@@ -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) )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment