From 22d94ce0abef7cdd5e344a28e1b1ee4caf6cd8f8 Mon Sep 17 00:00:00 2001 From: Noel Date: Tue, 6 Oct 2020 11:17:13 +0200 Subject: loplugin:const* make some params and methods const Change-Id: If7fbb25037343e18081a8ee7064840d75e9a45a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104010 Tested-by: Noel Grandin Reviewed-by: Noel Grandin --- tools/source/stream/strmunx.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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, Locks > {}; -bool lockFile( SvFileStream* pStream ) +bool lockFile( const SvFileStream* pStream ) { osl::DirectoryItem aItem; if (osl::DirectoryItem::get( pStream->GetFileName(), aItem) != osl::FileBase::E_None ) -- cgit v1.2.3