summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_docmgr.cxx')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_docmgr.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
index 19f35caaa349..b0e03e8ac664 100644
--- a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
@@ -76,8 +76,7 @@ void SAL_CALL OfficeDocumentsManager::OfficeDocumentsCloseListener::notifyClosin
{
document::EventObject aDocEvent;
aDocEvent.Source = Source.Source;
- aDocEvent.EventName = rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM( "OfficeDocumentsListener::notifyClosing" ) );
+ aDocEvent.EventName = rtl::OUString( "OfficeDocumentsListener::notifyClosing" );
m_pManager->notifyEvent( aDocEvent );
}
@@ -147,8 +146,7 @@ getDocumentId( const uno::Reference< uno::XInterface > & xDoc )
try
{
uno::Any aValue = xPropSet->getPropertyValue(
- rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM( "RuntimeUID" ) ) );
+ rtl::OUString( "RuntimeUID" ) );
aValue >>= aId;
}
catch ( beans::UnknownPropertyException const & )