summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8par3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/ww8par3.cxx')
-rw-r--r--sw/source/filter/ww8/ww8par3.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx
index f28a076da3b1..3f618e6dc99e 100644
--- a/sw/source/filter/ww8/ww8par3.cxx
+++ b/sw/source/filter/ww8/ww8par3.cxx
@@ -2533,8 +2533,7 @@ bool SwMSConvertControls::InsertControl(
if( !xCreate.is() )
return false;
- uno::Reference< drawing::XShape > xShape =
- uno::Reference< drawing::XShape >(xCreate, uno::UNO_QUERY);
+ uno::Reference< drawing::XShape > xShape(xCreate, uno::UNO_QUERY);
OSL_ENSURE(xShape.is(), "Did not get XShape");
xShape->setSize(rSize);