diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-11 11:22:46 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-11 11:59:18 +0200 |
commit | a3f3cead5d7fed99ea78c2a12b8671f18d156e23 (patch) | |
tree | b55d001bf5fa084c9df4b2d75595b061ecf14e53 /desktop/source/migration/services/basicmigration.cxx | |
parent | 3f5a9ca46efc801f79cdc00a3583646936bec689 (diff) |
loplugin: unused return values in desktop
Change-Id: Iec7a150c6bdb3b25fe24d711e3e453e1d8a5d26e
Diffstat (limited to 'desktop/source/migration/services/basicmigration.cxx')
-rw-r--r-- | desktop/source/migration/services/basicmigration.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/source/migration/services/basicmigration.cxx b/desktop/source/migration/services/basicmigration.cxx index 457b479fb0a5..26b0ca391f34 100644 --- a/desktop/source/migration/services/basicmigration.cxx +++ b/desktop/source/migration/services/basicmigration.cxx @@ -106,7 +106,7 @@ namespace migration - ::osl::FileBase::RC BasicMigration::checkAndCreateDirectory( INetURLObject& rDirURL ) + void BasicMigration::checkAndCreateDirectory( INetURLObject& rDirURL ) { ::osl::FileBase::RC aResult = ::osl::Directory::create( rDirURL.GetMainURL( INetURLObject::DECODE_TO_IURI ) ); if ( aResult == ::osl::FileBase::E_NOENT ) @@ -114,11 +114,7 @@ namespace migration INetURLObject aBaseURL( rDirURL ); aBaseURL.removeSegment(); checkAndCreateDirectory( aBaseURL ); - return ::osl::Directory::create( rDirURL.GetMainURL( INetURLObject::DECODE_TO_IURI ) ); - } - else - { - return aResult; + ::osl::Directory::create( rDirURL.GetMainURL( INetURLObject::DECODE_TO_IURI ) ); } } |