summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-06 11:17:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-06 12:57:25 +0200
commit22d94ce0abef7cdd5e344a28e1b1ee4caf6cd8f8 (patch)
tree0e54d0721723336daf26493f85e7be8f07431286 /tools
parentd34e969c888219bd3739fc4a8ef330c77f7e7adf (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.cxx2
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 )