Kaydet (Commit) 4d6b9053 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)

Change-Id: I90942032dda387d2f3fdeabe6c6afd2d14526728
üst ebaa338d
...@@ -137,9 +137,9 @@ handleNoSuchFilterRequest_( ...@@ -137,9 +137,9 @@ handleNoSuchFilterRequest_(
uui::FilterNamePair aPair; uui::FilterNamePair aPair;
aPair.sInternal = lProps.getUnpackedValueOrDefault( aPair.sInternal = lProps.getUnpackedValueOrDefault(
OUString("Name"), OUString()); "Name", OUString());
aPair.sUI = lProps.getUnpackedValueOrDefault( aPair.sUI = lProps.getUnpackedValueOrDefault(
OUString("UIName"), OUString()); "UIName", OUString());
if ( aPair.sInternal.isEmpty() || aPair.sUI.isEmpty() ) if ( aPair.sInternal.isEmpty() || aPair.sUI.isEmpty() )
{ {
continue; continue;
......
...@@ -363,7 +363,7 @@ bool UUIInteractionHelper::handleTypedHandlerImplementations( Reference< XIntera ...@@ -363,7 +363,7 @@ bool UUIInteractionHelper::handleTypedHandlerImplementations( Reference< XIntera
// the base registration node for "typed" interaction handlers // the base registration node for "typed" interaction handlers
const ::utl::OConfigurationTreeRoot aConfigRoot( ::utl::OConfigurationTreeRoot::createWithComponentContext( const ::utl::OConfigurationTreeRoot aConfigRoot( ::utl::OConfigurationTreeRoot::createWithComponentContext(
m_xContext, m_xContext,
OUString( "/org.openoffice.Interaction/InteractionHandlers" ), "/org.openoffice.Interaction/InteractionHandlers",
-1, -1,
::utl::OConfigurationTreeRoot::CM_READONLY ::utl::OConfigurationTreeRoot::CM_READONLY
) ); ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment