diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/migration/services/oo3extensionmigration.cxx | 12 | ||||
-rw-r--r-- | desktop/source/migration/services/oo3extensionmigration.hxx | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/desktop/source/migration/services/oo3extensionmigration.cxx b/desktop/source/migration/services/oo3extensionmigration.cxx index 98281a3ecc4e..b8672ee44c7d 100644 --- a/desktop/source/migration/services/oo3extensionmigration.cxx +++ b/desktop/source/migration/services/oo3extensionmigration.cxx @@ -80,18 +80,6 @@ OO3ExtensionMigration::~OO3ExtensionMigration() { } -void OO3ExtensionMigration::checkAndCreateDirectory( INetURLObject const & rDirURL ) -{ - ::osl::FileBase::RC aResult = ::osl::Directory::create( rDirURL.GetMainURL( INetURLObject::DecodeMechanism::ToIUri ) ); - if ( aResult == ::osl::FileBase::E_NOENT ) - { - INetURLObject aBaseURL( rDirURL ); - aBaseURL.removeSegment(); - checkAndCreateDirectory( aBaseURL ); - ::osl::Directory::create( rDirURL.GetMainURL( INetURLObject::DecodeMechanism::ToIUri ) ); - } -} - void OO3ExtensionMigration::scanUserExtensions( const OUString& sSourceDir, TStringVector& aMigrateExtensions ) { osl::Directory aScanRootDir( sSourceDir ); diff --git a/desktop/source/migration/services/oo3extensionmigration.hxx b/desktop/source/migration/services/oo3extensionmigration.hxx index 690bb94093e3..c237f54020d3 100644 --- a/desktop/source/migration/services/oo3extensionmigration.hxx +++ b/desktop/source/migration/services/oo3extensionmigration.hxx @@ -78,7 +78,6 @@ namespace migration SCANRESULT_DONTMIGRATE_EXTENSION }; - void checkAndCreateDirectory( INetURLObject const & rDirURL ); ScanResult scanExtensionFolder( const OUString& sExtFolder ); void scanUserExtensions( const OUString& sSourceDir, TStringVector& aMigrateExtensions ); bool scanDescriptionXml( const OUString& sDescriptionXmlFilePath ); |