summaryrefslogtreecommitdiffstats
path: root/io/source/stm/odata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'io/source/stm/odata.cxx')
-rw-r--r--io/source/stm/odata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx
index bb305b8ac692..5583e24b8fe4 100644
--- a/io/source/stm/odata.cxx
+++ b/io/source/stm/odata.cxx
@@ -1366,7 +1366,7 @@ Reference< XPersistObject > OObjectInputStream::readObject() throw (::com::sun:
sal_Bool bLoadSuccesfull = sal_True;
if( nId )
{
- if( aName.getLength() )
+ if( !aName.isEmpty() )
{
// load the object
Reference< XInterface > x = m_rSMgr->createInstanceWithContext( aName, m_rCxt );