loplugin:oncevar (clang-cl)

Change-Id: I36c97d99d268b0ebedfd0eebc4722cabc6e51220
This commit is contained in:
Stephan Bergmann
2017-08-18 10:07:56 +02:00
parent fd924b397b
commit a100b31f0d

View File

@@ -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<void**>(&mpDispFactory));
if( !SUCCEEDED( hr ) )
OutputError_Impl( nullptr, hr );