summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:38:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:38:16 +0100
commitd0e6388a217890016ea32619629c45709e8060f7 (patch)
tree76dcbaa76bf3047b073ed7fc92860a507b7a89ba /ucbhelper
parentebb3beb8044e1092403aee201ac339ed1c57f55d (diff)
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I970a03643f3c460110bc7caf1dc33c6dde1d78d5
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/source/client/content.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index 54363ef8f97b..31e1b2f5cf9e 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -886,7 +886,7 @@ Sequence< ContentInfo > Content::queryCreatableContentsInfo()
// First, try it using "CreatableContentsInfo" property -> the "new" way.
Sequence< ContentInfo > aInfo;
if ( getPropertyValue(
- OUString("CreatableContentsInfo") )
+ "CreatableContentsInfo" )
>>= aInfo )
return aInfo;
@@ -967,7 +967,7 @@ bool Content::insertNewContent( const OUString& rContentType,
Content aNewContent(
xNew, m_xImpl->getEnvironment(), m_xImpl->getComponentContext() );
aNewContent.setPropertyValues( rPropertyNames, rPropertyValues );
- aNewContent.executeCommand( OUString("insert"),
+ aNewContent.executeCommand( "insert",
makeAny(
InsertCommandArgument(
rData.is() ? rData : new EmptyInputStream,