summaryrefslogtreecommitdiff
path: root/sot/source/unoolestorage
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-11 11:37:33 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-11 18:43:07 -0200
commit806dce17d6631738c7388d8d68d8b5ac2e4c11a8 (patch)
tree0759954593c2fa8a85b94e5d3a4b4f40e913f091 /sot/source/unoolestorage
parente33702442a22a72f96a093fbfdf8bfac217f416f (diff)
Fix for fdo43460 Part XXXIV getLength() to isEmpty()
Part XXXIV Modules shell, slideshow, sot, starmath
Diffstat (limited to 'sot/source/unoolestorage')
-rw-r--r--sot/source/unoolestorage/xolesimplestorage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx
index ce4c6a7931ad..cdf5470c01dc 100644
--- a/sot/source/unoolestorage/xolesimplestorage.cxx
+++ b/sot/source/unoolestorage/xolesimplestorage.cxx
@@ -129,7 +129,7 @@ void OLESimpleStorage::UpdateOriginal_Impl()
void OLESimpleStorage::InsertInputStreamToStorage_Impl( BaseStorage* pStorage, ::rtl::OUString aName, const uno::Reference< io::XInputStream >& xInputStream )
throw ( uno::Exception )
{
- if ( !pStorage || !aName.getLength() || !xInputStream.is() )
+ if ( !pStorage || aName.isEmpty() || !xInputStream.is() )
throw uno::RuntimeException();
if ( pStorage->IsContained( aName ) )
@@ -174,7 +174,7 @@ void OLESimpleStorage::InsertInputStreamToStorage_Impl( BaseStorage* pStorage, :
void OLESimpleStorage::InsertNameAccessToStorage_Impl( BaseStorage* pStorage, ::rtl::OUString aName, const uno::Reference< container::XNameAccess >& xNameAccess )
throw ( uno::Exception )
{
- if ( !pStorage || !aName.getLength() || !xNameAccess.is() )
+ if ( !pStorage || aName.isEmpty() || !xNameAccess.is() )
throw uno::RuntimeException();
if ( pStorage->IsContained( aName ) )