summaryrefslogtreecommitdiff
path: root/ucbhelper/source/client/content.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-05 12:42:10 +0200
committerNoel Grandin <noel@peralex.com>2015-11-05 12:42:42 +0200
commit94268513eeded3952972d7efe0a9bc689605421b (patch)
tree5994adbdba4ca18b8c326e70db2a73a18527caa0 /ucbhelper/source/client/content.cxx
parentc89ba1dedc511ec17df1e35f8e0696bc20121491 (diff)
use uno::Reference::set method instead of assignment
Change-Id: Id57ccff7ea6cf5c7053b51268b1190f5459bb357
Diffstat (limited to 'ucbhelper/source/client/content.cxx')
-rw-r--r--ucbhelper/source/client/content.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index a384a5e7e0e2..54363ef8f97b 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -1298,8 +1298,7 @@ Reference< XCommandProcessor > Content_Impl::getCommandProcessor()
osl::MutexGuard aGuard( m_aMutex );
if ( !m_xCommandProcessor.is() )
- m_xCommandProcessor
- = Reference< XCommandProcessor >( getContent(), UNO_QUERY );
+ m_xCommandProcessor.set( getContent(), UNO_QUERY );
}
return m_xCommandProcessor;