From a100b31f0de13ab8fbf66d77dd24a798ae96d9dd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 18 Aug 2017 10:07:56 +0200 Subject: loplugin:oncevar (clang-cl) Change-Id: I36c97d99d268b0ebedfd0eebc4722cabc6e51220 --- extensions/source/activex/SOActiveX.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions') diff --git a/extensions/source/activex/SOActiveX.cxx b/extensions/source/activex/SOActiveX.cxx index c42683dfbc1f..9bcc32da5be4 100644 --- a/extensions/source/activex/SOActiveX.cxx +++ b/extensions/source/activex/SOActiveX.cxx @@ -158,7 +158,7 @@ CSOActiveX::CSOActiveX() , mbReadyForActivation( FALSE ) , mbDrawLocked( FALSE ) { - CLSID clsFactory = {0x82154420,0x0FBF,0x11d4,{0x83, 0x13,0x00,0x50,0x04,0x52,0x6A,0xB4}}; + CLSID const clsFactory = {0x82154420,0x0FBF,0x11d4,{0x83, 0x13,0x00,0x50,0x04,0x52,0x6A,0xB4}}; HRESULT hr = CoCreateInstance( clsFactory, nullptr, CLSCTX_ALL, __uuidof(IDispatch), reinterpret_cast(&mpDispFactory)); if( !SUCCEEDED( hr ) ) OutputError_Impl( nullptr, hr ); -- cgit