From ddbf256f8ae8f3bcd02b01719c163602b17205fd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 17 Jul 2017 17:20:15 +0200 Subject: loplugin:oncevar: embeddedobj (clang-cl) Change-Id: I22797d4e914e6033142628d1b37abab6c1901423 --- embeddedobj/source/msole/xdialogcreator.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'embeddedobj') 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 -- cgit