summaryrefslogtreecommitdiff
path: root/ucbhelper/source/provider
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/provider
parentc89ba1dedc511ec17df1e35f8e0696bc20121491 (diff)
use uno::Reference::set method instead of assignment
Change-Id: Id57ccff7ea6cf5c7053b51268b1190f5459bb357
Diffstat (limited to 'ucbhelper/source/provider')
-rw-r--r--ucbhelper/source/provider/registerucb.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucbhelper/source/provider/registerucb.cxx b/ucbhelper/source/provider/registerucb.cxx
index 5016155d6a9e..d13a7295c1f3 100644
--- a/ucbhelper/source/provider/registerucb.cxx
+++ b/ucbhelper/source/provider/registerucb.cxx
@@ -80,7 +80,7 @@ registerAtUcb(
if (!xProvider.is())
try
{
- xProvider = uno::Reference< ucb::XContentProvider >(
+ xProvider.set(
rxContext->getServiceManager()->createInstanceWithContext(rName, rxContext),
uno::UNO_QUERY);
}