diff options
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/client/content.cxx | 4 |
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, |