diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-05 09:49:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-05 09:59:30 +0200 |
commit | 3d96f1ef5556869bb60522c9cfa5c9c6f8db0a18 (patch) | |
tree | dd4a4f6f457333ff91660824b817db22c461bf10 /svx/source/smarttags | |
parent | 3fdbf5935e0aff6350e861e868c7e0a12dd1bc8f (diff) |
use uno::Reference::set method instead of assignment
Change-Id: I2f8c9cb71a06f7796576509f605796624e654422
Diffstat (limited to 'svx/source/smarttags')
-rw-r--r-- | svx/source/smarttags/SmartTagMgr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/smarttags/SmartTagMgr.cxx b/svx/source/smarttags/SmartTagMgr.cxx index ea2667dba8c4..6c523cf108d0 100644 --- a/svx/source/smarttags/SmartTagMgr.cxx +++ b/svx/source/smarttags/SmartTagMgr.cxx @@ -125,7 +125,7 @@ void SmartTagMgr::RecognizeTextRange(const Reference< text::XTextRange>& xRange, { Reference < smarttags::XSmartTagRecognizer > xRecognizer = maRecognizerList[i]; - Reference< smarttags::XRangeBasedSmartTagRecognizer > xRangeBasedRecognizer = Reference< smarttags::XRangeBasedSmartTagRecognizer >( xRecognizer, UNO_QUERY); + Reference< smarttags::XRangeBasedSmartTagRecognizer > xRangeBasedRecognizer( xRecognizer, UNO_QUERY); if (!xRangeBasedRecognizer.is()) continue; @@ -354,7 +354,7 @@ void SmartTagMgr::LoadLibraries() Reference< lang::XServiceInfo > xsInfo; if (a >>= xsInfo) - xSCF = Reference< lang::XSingleComponentFactory >(xsInfo, UNO_QUERY); + xSCF.set(xsInfo, UNO_QUERY); else continue; @@ -381,7 +381,7 @@ void SmartTagMgr::LoadLibraries() Reference< lang::XSingleComponentFactory > xSCF; if (a >>= xsInfo) - xSCF = Reference< lang::XSingleComponentFactory >(xsInfo, UNO_QUERY); + xSCF.set(xsInfo, UNO_QUERY); else continue; @@ -437,7 +437,7 @@ void SmartTagMgr::PrepareConfiguration( const OUString& rConfigurationGroupName if ( xConfigurationAccess.is() ) { - mxConfigurationSettings = Reference< beans::XPropertySet >( xConfigurationAccess, UNO_QUERY ); + mxConfigurationSettings.set( xConfigurationAccess, UNO_QUERY ); } } |