summaryrefslogtreecommitdiffstats
path: root/sw/source/filter/ww8/wrtw8nds.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-05 10:25:49 +0200
committerNoel Grandin <noel@peralex.com>2015-11-05 11:18:41 +0200
commitf9a6e75e21e9919a405a1964d85345a1c0634067 (patch)
tree8b3a9162071da1e8beded91bc3cad16614b2abcc /sw/source/filter/ww8/wrtw8nds.cxx
parentvcl: This is constant (diff)
downloadcore-f9a6e75e21e9919a405a1964d85345a1c0634067.tar.gz
core-f9a6e75e21e9919a405a1964d85345a1c0634067.zip
use uno::Reference::set method instead of assignmen
Change-Id: I76671a74150791e1a74ece3d5bcf40fd6c727ac7
Diffstat (limited to 'sw/source/filter/ww8/wrtw8nds.cxx')
-rw-r--r--sw/source/filter/ww8/wrtw8nds.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index 295bfb2bf1ad..d948f8c51d77 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -558,7 +558,7 @@ FlyProcessingState SwWW8AttrIter::OutFlys(sal_Int32 nSwPos)
sw::Frame xFrame = *linkedTextboxesIter;
const SdrObject* pSdrObj = xFrame.GetFrameFormat().FindRealSdrObject();
if( pSdrObj )
- xShape = uno::Reference< drawing::XShape >(const_cast<SdrObject*>(pSdrObj)->getUnoShape(), uno::UNO_QUERY);
+ xShape.set(const_cast<SdrObject*>(pSdrObj)->getUnoShape(), uno::UNO_QUERY);
uno::Reference< beans::XPropertySet > xPropertySet(xShape, uno::UNO_QUERY);
uno::Reference< beans::XPropertySetInfo > xPropertySetInfo;
if( xPropertySet.is() )