diff options
Diffstat (limited to 'framework/source/uifactory/uicontrollerfactory.cxx')
-rw-r--r-- | framework/source/uifactory/uicontrollerfactory.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/uifactory/uicontrollerfactory.cxx b/framework/source/uifactory/uicontrollerfactory.cxx index 35d883a4c9f0..73959546a0ce 100644 --- a/framework/source/uifactory/uicontrollerfactory.cxx +++ b/framework/source/uifactory/uicontrollerfactory.cxx @@ -118,7 +118,6 @@ Reference< XInterface > SAL_CALL UIControllerFactory::createInstanceWithArgument const Reference< XComponentContext >& ) { const OUString aPropModuleName( "ModuleIdentifier" ); - const OUString aPropValueName( "Value" ); OUString aPropName; PropertyValue aPropValue; @@ -149,7 +148,7 @@ Reference< XInterface > SAL_CALL UIControllerFactory::createInstanceWithArgument // Append the optional value argument. It's an empty string if no additional info // is provided to the controller. OUString aValue = m_pConfigAccess->getValueFromCommandModule( ServiceSpecifier, aPropName ); - aPropValue.Name = aPropValueName; + aPropValue.Name = "Value"; aPropValue.Value <<= aValue; aNewArgs[nAppendIndex+1] <<= aPropValue; |