summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/xpackcreator.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-10 17:54:51 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-10 23:39:13 -0200
commite24a27b4cc920cbb1b87c33f99b7379f50d2e0f7 (patch)
treeab6af7397220ee41793b7edef303075daf853bc6 /sfx2/source/appl/xpackcreator.cxx
parentf19d269ab4286b2e2e9f579bc4705daf4f6756ab (diff)
Fix for fdo43460 Part XXXIII getLength() to isEmpty()
Part XXXIII Modules sfx2
Diffstat (limited to 'sfx2/source/appl/xpackcreator.cxx')
-rw-r--r--sfx2/source/appl/xpackcreator.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/appl/xpackcreator.cxx b/sfx2/source/appl/xpackcreator.cxx
index 3f404fdc725e..44c4ed180959 100644
--- a/sfx2/source/appl/xpackcreator.cxx
+++ b/sfx2/source/appl/xpackcreator.cxx
@@ -103,7 +103,7 @@ void SAL_CALL OPackageStructureCreator::convertToPackage( const ::rtl::OUString&
sal_True );
SotStorageRef aStorage = new SotStorage( pUCBStorage );
- if ( aTempURL.getLength() )
+ if ( !aTempURL.isEmpty() )
{
pTempStream = new SvFileStream( aTempURL, STREAM_STD_READWRITE );
SotStorageRef aTargetStorage = new SotStorage( sal_True, *pTempStream );
@@ -142,7 +142,7 @@ void SAL_CALL OPackageStructureCreator::convertToPackage( const ::rtl::OUString&
if ( pTempStream )
delete pTempStream;
- if ( aTempURL.getLength() )
+ if ( !aTempURL.isEmpty() )
::utl::UCBContentHelper::Kill( aTempURL );
throw;
@@ -152,7 +152,7 @@ void SAL_CALL OPackageStructureCreator::convertToPackage( const ::rtl::OUString&
if ( pTempStream )
delete pTempStream;
- if ( aTempURL.getLength() )
+ if ( !aTempURL.isEmpty() )
::utl::UCBContentHelper::Kill( aTempURL );
throw;
@@ -164,7 +164,7 @@ void SAL_CALL OPackageStructureCreator::convertToPackage( const ::rtl::OUString&
if ( pTempStream )
delete pTempStream;
- if ( aTempURL.getLength() )
+ if ( !aTempURL.isEmpty() )
::utl::UCBContentHelper::Kill( aTempURL );
}