diff options
Diffstat (limited to 'ucb/source/ucp/odma/odma_content.cxx')
-rw-r--r-- | ucb/source/ucp/odma/odma_content.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/odma/odma_content.cxx b/ucb/source/ucp/odma/odma_content.cxx index 85819a482bda..687aacf41baa 100644 --- a/ucb/source/ucp/odma/odma_content.cxx +++ b/ucb/source/ucp/odma/odma_content.cxx @@ -419,11 +419,11 @@ uno::Any SAL_CALL Content::execute( } } } - else if ( aCommand.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "close" ) ) ) + else if ( aCommand.Name == "close" ) { getContentProvider()->closeDocument(m_aProps->m_sDocumentId); } - else if ( aCommand.Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "delete" ) ) ) + else if ( aCommand.Name == "delete" ) { ////////////////////////////////////////////////////////////////// // delete @@ -828,7 +828,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues( { const beans::PropertyValue& rValue = pValues[ n ]; - if ( rValue.Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM( "Title" ) ) ) + if ( rValue.Name == "Title" ) { changePropertyValue(rValue,n,m_aProps->m_sTitle,nChanged,aRet,aChanges); } |