summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-18 10:07:56 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-18 10:07:56 +0200
commita100b31f0de13ab8fbf66d77dd24a798ae96d9dd (patch)
treeed336e8649f735d635daa56daf83c0c3500475f7 /extensions
parentfd924b397b17e69dbf5721665d493d08c35fad59 (diff)
loplugin:oncevar (clang-cl)
Change-Id: I36c97d99d268b0ebedfd0eebc4722cabc6e51220
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/activex/SOActiveX.cxx2
1 files changed, 1 insertions, 1 deletions
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<void**>(&mpDispFactory));
if( !SUCCEEDED( hr ) )
OutputError_Impl( nullptr, hr );