From 3631ef8ceaa72525f84226cb5017dadea2c2c414 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 3 Jun 2017 21:10:18 +0200 Subject: Improved loplugin:cstylecast to reference types: store Change-Id: I78213cb2b8812ebdd1354c045318d081e4197934 --- store/source/storbios.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'store') diff --git a/store/source/storbios.hxx b/store/source/storbios.hxx index 336a37ff0515..a563f5b55a12 100644 --- a/store/source/storbios.hxx +++ b/store/source/storbios.hxx @@ -178,7 +178,7 @@ private: inline OStorePageBIOS::operator osl::Mutex& (void) const { - return (osl::Mutex&)m_aMutex; + return const_cast(m_aMutex); } inline bool OStorePageBIOS::isWriteable() const { -- cgit v1.2.3