diff options
Diffstat (limited to 'sw/source/ui/vba/vbatemplate.cxx')
-rw-r--r-- | sw/source/ui/vba/vbatemplate.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbatemplate.cxx b/sw/source/ui/vba/vbatemplate.cxx index 9774a971f114..d09d65e85954 100644 --- a/sw/source/ui/vba/vbatemplate.cxx +++ b/sw/source/ui/vba/vbatemplate.cxx @@ -71,7 +71,7 @@ rtl::OUString SwVbaTemplate::getName() throw ( css::uno::RuntimeException ) { rtl::OUString sName; - if( msFullUrl.getLength() ) + if( !msFullUrl.isEmpty() ) { INetURLObject aURL( msFullUrl ); ::osl::File::getSystemPathFromFileURL( aURL.GetLastName(), sName ); @@ -83,7 +83,7 @@ rtl::OUString SwVbaTemplate::getPath() throw ( css::uno::RuntimeException ) { rtl::OUString sPath; - if( msFullUrl.getLength() ) + if( !msFullUrl.isEmpty() ) { INetURLObject aURL( msFullUrl ); rtl::OUString sURL( aURL.GetMainURL( INetURLObject::DECODE_TO_IURI ) ); |