diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-17 17:20:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-17 17:20:15 +0200 |
commit | ddbf256f8ae8f3bcd02b01719c163602b17205fd (patch) | |
tree | d7ffe07e36d50b0147b53652f70344182219bffe /embeddedobj/source | |
parent | 7d82067d38663bc0a8ee1a12087a763bcb73d744 (diff) |
loplugin:oncevar: embeddedobj (clang-cl)
Change-Id: I22797d4e914e6033142628d1b37abab6c1901423
Diffstat (limited to 'embeddedobj/source')
-rw-r--r-- | embeddedobj/source/msole/xdialogcreator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/embeddedobj/source/msole/xdialogcreator.cxx b/embeddedobj/source/msole/xdialogcreator.cxx index 0954f73672f4..b2d564be8dd6 100644 --- a/embeddedobj/source/msole/xdialogcreator.cxx +++ b/embeddedobj/source/msole/xdialogcreator.cxx @@ -197,8 +197,7 @@ embed::InsertedObjectInfo SAL_CALL MSOLEDialogObjectCreator::createInstanceByDia aClassID = GetRelatedInternalID_Impl( aClassID ); //TODO: retrieve ClassName - OUString aClassName; - aObjectInfo.Object.set( xEmbCreator->createInstanceInitNew( aClassID, aClassName, xStorage, sEntName, aObjArgs ), + aObjectInfo.Object.set( xEmbCreator->createInstanceInitNew( aClassID, OUString(), xStorage, sEntName, aObjArgs ), uno::UNO_QUERY ); } else |