From d18daeff771b255207bb30d428540d9ebd28ec32 Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Sat, 17 Dec 2011 16:22:42 +0400 Subject: [PATCH] correct diagnostic message --- connectivity/source/sdbcx/VCollection.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connectivity/source/sdbcx/VCollection.cxx b/connectivity/source/sdbcx/VCollection.cxx index 34caa74efa27..66ccb4d92df5 100644 --- a/connectivity/source/sdbcx/VCollection.cxx +++ b/connectivity/source/sdbcx/VCollection.cxx @@ -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) ) {