diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-23 12:22:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-24 07:56:57 +0100 |
commit | 945a119675788f7c8f0a133ac0271f9340c1653a (patch) | |
tree | 36b8ec346d009628b22922e510ba19fd2ece4f58 /sfx2 | |
parent | 7b7c388fe402e14486664e36eeb6c1f0fe1e02b9 (diff) |
loplugin:constparams
Change-Id: I7c695073d9a9d3b7a641d6eb9fe01a47d8c3a504
Reviewed-on: https://gerrit.libreoffice.org/48392
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/app.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx index 82e1d6394f7b..b572ff23cb61 100644 --- a/sfx2/source/appl/app.cxx +++ b/sfx2/source/appl/app.cxx @@ -417,7 +417,7 @@ void SfxApplication::Invalidate( sal_uInt16 nId ) #ifndef DISABLE_DYNLOADING -typedef long (*basicide_handle_basic_error)(void*); +typedef long (*basicide_handle_basic_error)(void const *); typedef void (*basicide_macro_organizer)(sal_Int16); extern "C" { static void thisModule() {} } diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index 971e6f6e263d..acbf7e427bd7 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -130,7 +130,7 @@ OUString getHelpRootURL() return s_instURL; } -bool impl_checkHelpLocalePath(OUString& rpPath) +bool impl_checkHelpLocalePath(OUString const & rpPath) { osl::DirectoryItem directoryItem; bool bOK = false; diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index bfc4476fdcd0..0e50ed9141ac 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -3401,7 +3401,7 @@ bool SfxMedium::SetWritableForUserOnly( const OUString& aURL ) namespace { /// Get the parent directory of a temporary file for output purposes. -OUString GetLogicBase(std::unique_ptr<SfxMedium_Impl>& pImpl) +OUString GetLogicBase(std::unique_ptr<SfxMedium_Impl> const & pImpl) { OUString aLogicBase; |