summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:38:30 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:38:30 +0100
commit4d6b9053a437dc128d186f8d100ef4a351136f54 (patch)
tree451553955d80feebee2175da2cb311a92bbda5e0 /uui
parentebaa338df5372141ed5afdec6c70cd6d34fa05f6 (diff)
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I90942032dda387d2f3fdeabe6c6afd2d14526728
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl-filter.cxx4
-rw-r--r--uui/source/iahndl.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/uui/source/iahndl-filter.cxx b/uui/source/iahndl-filter.cxx
index 8cadd7bfc560..7110fddafb18 100644
--- a/uui/source/iahndl-filter.cxx
+++ b/uui/source/iahndl-filter.cxx
@@ -137,9 +137,9 @@ handleNoSuchFilterRequest_(
uui::FilterNamePair aPair;
aPair.sInternal = lProps.getUnpackedValueOrDefault(
- OUString("Name"), OUString());
+ "Name", OUString());
aPair.sUI = lProps.getUnpackedValueOrDefault(
- OUString("UIName"), OUString());
+ "UIName", OUString());
if ( aPair.sInternal.isEmpty() || aPair.sUI.isEmpty() )
{
continue;
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx
index b607502f9ebc..7e8ded7bd69a 100644
--- a/uui/source/iahndl.cxx
+++ b/uui/source/iahndl.cxx
@@ -363,7 +363,7 @@ bool UUIInteractionHelper::handleTypedHandlerImplementations( Reference< XIntera
// the base registration node for "typed" interaction handlers
const ::utl::OConfigurationTreeRoot aConfigRoot( ::utl::OConfigurationTreeRoot::createWithComponentContext(
m_xContext,
- OUString( "/org.openoffice.Interaction/InteractionHandlers" ),
+ "/org.openoffice.Interaction/InteractionHandlers",
-1,
::utl::OConfigurationTreeRoot::CM_READONLY
) );