diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-06 11:17:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-06 12:57:25 +0200 |
commit | 22d94ce0abef7cdd5e344a28e1b1ee4caf6cd8f8 (patch) | |
tree | 0e54d0721723336daf26493f85e7be8f07431286 /tools | |
parent | d34e969c888219bd3739fc4a8ef330c77f7e7adf (diff) |
loplugin:const* make some params and methods const
Change-Id: If7fbb25037343e18081a8ee7064840d75e9a45a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104010
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/stream/strmunx.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx index 9a55831e26f2..249af86fc90f 100644 --- a/tools/source/stream/strmunx.cxx +++ b/tools/source/stream/strmunx.cxx @@ -42,7 +42,7 @@ struct LockMutex : public rtl::Static< osl::Mutex, LockMutex > {}; struct Locks : public rtl::Static< std::map<SvFileStream const *, osl::DirectoryItem>, Locks > {}; -bool lockFile( SvFileStream* pStream ) +bool lockFile( const SvFileStream* pStream ) { osl::DirectoryItem aItem; if (osl::DirectoryItem::get( pStream->GetFileName(), aItem) != osl::FileBase::E_None ) |