diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2011-12-09 22:23:22 -0200 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2011-12-10 13:54:31 +0400 |
commit | 1688a9d9235dd2ee4f3b9497308efd41f7a3fb6f (patch) | |
tree | 63839fbeb7af54f25b574b2edd1cd93a77394ba5 /basctl/source/basicide/moduldl2.cxx | |
parent | 79a8567b422459d1ba42ce60e6cafea416441e75 (diff) |
Fix for fdo43460 Part II getLength to isEmpty
Part II
Module
basctl
Diffstat (limited to 'basctl/source/basicide/moduldl2.cxx')
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index ebc662c0e8cd..c8960a411d79 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -1332,7 +1332,7 @@ void LibPage::ExportAsPackage( const String& aLibName ) Sequence< ::rtl::OUString > aFiles = xFP->getFiles(); INetURLObject aURL( aFiles[0] ); - if( !aURL.getExtension().getLength() ) + if( aURL.getExtension().isEmpty() ) aURL.setExtension( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "oxt" ) ) ); ::rtl::OUString aPackageURL( aURL.GetMainURL( INetURLObject::NO_DECODE ) ); |