summaryrefslogtreecommitdiff
path: root/desktop/source/migration/services
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-18 14:39:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-19 09:28:00 +0200
commit0f7e64f3edbc1a49e9681d12ce24326150a8a675 (patch)
tree8f7129134e134607f4913736723f3e49a2392bdb /desktop/source/migration/services
parent7b83ed313e0e54cb7da4525d13f63937e10867fa (diff)
loplugin:constparams in desktop
Change-Id: Idba3acbd1e6ad5e1ce1cae9f80f764906ab8b143 Reviewed-on: https://gerrit.libreoffice.org/40157 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source/migration/services')
-rw-r--r--desktop/source/migration/services/basicmigration.cxx2
-rw-r--r--desktop/source/migration/services/basicmigration.hxx2
-rw-r--r--desktop/source/migration/services/oo3extensionmigration.cxx2
-rw-r--r--desktop/source/migration/services/oo3extensionmigration.hxx2
-rw-r--r--desktop/source/migration/services/wordbookmigration.cxx2
-rw-r--r--desktop/source/migration/services/wordbookmigration.hxx2
6 files changed, 6 insertions, 6 deletions
diff --git a/desktop/source/migration/services/basicmigration.cxx b/desktop/source/migration/services/basicmigration.cxx
index 5bd36c836b2e..dc0c47d0be05 100644
--- a/desktop/source/migration/services/basicmigration.cxx
+++ b/desktop/source/migration/services/basicmigration.cxx
@@ -100,7 +100,7 @@ namespace migration
}
- void BasicMigration::checkAndCreateDirectory( INetURLObject& rDirURL )
+ void BasicMigration::checkAndCreateDirectory( INetURLObject const & rDirURL )
{
::osl::FileBase::RC aResult = ::osl::Directory::create( rDirURL.GetMainURL( INetURLObject::DecodeMechanism::ToIUri ) );
if ( aResult == ::osl::FileBase::E_NOENT )
diff --git a/desktop/source/migration/services/basicmigration.hxx b/desktop/source/migration/services/basicmigration.hxx
index f8d3d0a4a1df..d2d18463b297 100644
--- a/desktop/source/migration/services/basicmigration.hxx
+++ b/desktop/source/migration/services/basicmigration.hxx
@@ -58,7 +58,7 @@ namespace migration
OUString m_sSourceDir;
TStringVectorPtr getFiles( const OUString& rBaseURL ) const;
- void checkAndCreateDirectory( INetURLObject& rDirURL );
+ void checkAndCreateDirectory( INetURLObject const & rDirURL );
void copyFiles();
public:
diff --git a/desktop/source/migration/services/oo3extensionmigration.cxx b/desktop/source/migration/services/oo3extensionmigration.cxx
index 7645e13926a4..fb1458767139 100644
--- a/desktop/source/migration/services/oo3extensionmigration.cxx
+++ b/desktop/source/migration/services/oo3extensionmigration.cxx
@@ -80,7 +80,7 @@ OO3ExtensionMigration::~OO3ExtensionMigration()
{
}
-void OO3ExtensionMigration::checkAndCreateDirectory( INetURLObject& rDirURL )
+void OO3ExtensionMigration::checkAndCreateDirectory( INetURLObject const & rDirURL )
{
::osl::FileBase::RC aResult = ::osl::Directory::create( rDirURL.GetMainURL( INetURLObject::DecodeMechanism::ToIUri ) );
if ( aResult == ::osl::FileBase::E_NOENT )
diff --git a/desktop/source/migration/services/oo3extensionmigration.hxx b/desktop/source/migration/services/oo3extensionmigration.hxx
index f9722aa2edac..690bb94093e3 100644
--- a/desktop/source/migration/services/oo3extensionmigration.hxx
+++ b/desktop/source/migration/services/oo3extensionmigration.hxx
@@ -78,7 +78,7 @@ namespace migration
SCANRESULT_DONTMIGRATE_EXTENSION
};
- void checkAndCreateDirectory( INetURLObject& rDirURL );
+ void checkAndCreateDirectory( INetURLObject const & rDirURL );
ScanResult scanExtensionFolder( const OUString& sExtFolder );
void scanUserExtensions( const OUString& sSourceDir, TStringVector& aMigrateExtensions );
bool scanDescriptionXml( const OUString& sDescriptionXmlFilePath );
diff --git a/desktop/source/migration/services/wordbookmigration.cxx b/desktop/source/migration/services/wordbookmigration.cxx
index 00136d7f7db0..1830c65a362c 100644
--- a/desktop/source/migration/services/wordbookmigration.cxx
+++ b/desktop/source/migration/services/wordbookmigration.cxx
@@ -93,7 +93,7 @@ namespace migration
}
- void WordbookMigration::checkAndCreateDirectory( INetURLObject& rDirURL )
+ void WordbookMigration::checkAndCreateDirectory( INetURLObject const & rDirURL )
{
::osl::FileBase::RC aResult = ::osl::Directory::create( rDirURL.GetMainURL( INetURLObject::DecodeMechanism::ToIUri ) );
if ( aResult == ::osl::FileBase::E_NOENT )
diff --git a/desktop/source/migration/services/wordbookmigration.hxx b/desktop/source/migration/services/wordbookmigration.hxx
index ab89858ee109..4fd535b1738b 100644
--- a/desktop/source/migration/services/wordbookmigration.hxx
+++ b/desktop/source/migration/services/wordbookmigration.hxx
@@ -58,7 +58,7 @@ namespace migration
OUString m_sSourceDir;
TStringVectorPtr getFiles( const OUString& rBaseURL ) const;
- void checkAndCreateDirectory( INetURLObject& rDirURL );
+ void checkAndCreateDirectory( INetURLObject const & rDirURL );
void copyFiles();
public: