summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/WCPage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/misc/WCPage.cxx')
-rw-r--r--dbaccess/source/ui/misc/WCPage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/misc/WCPage.cxx b/dbaccess/source/ui/misc/WCPage.cxx
index 2806d0d8781f..48e6ab58be2a 100644
--- a/dbaccess/source/ui/misc/WCPage.cxx
+++ b/dbaccess/source/ui/misc/WCPage.cxx
@@ -248,7 +248,7 @@ sal_Bool OCopyTable::LeavePage()
m_pParent->m_sName = m_edTableName.GetText();
m_edTableName.SaveValue();
- if(!m_pParent->m_sName.getLength())
+ if(m_pParent->m_sName.isEmpty())
{
String sError(ModuleRes(STR_INVALID_TABLE_NAME));
m_pParent->showError(sError);