summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-28 10:10:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-29 07:28:57 +0100
commita566fd1c1a50f9bcb4c69a19bdf4fb1955285d93 (patch)
tree13273efcf8aa69ce39a1860dc3d111c071e6a7b3 /desktop
parent411260d836e7bf6c693b9b7d16af1b36184133af (diff)
loplugin:unusedmethods
Change-Id: I2efb5c0e5735c179314c6c5de87821cee3b033e1 Reviewed-on: https://gerrit.libreoffice.org/45386 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/migration/services/oo3extensionmigration.cxx12
-rw-r--r--desktop/source/migration/services/oo3extensionmigration.hxx1
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 );