summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmlfmt.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/xml/xmlfmt.cxx
parent0e31c12f4c1cb53e1d68d1129b3b42508605846f (diff)
use uno::Reference::set method instead of assignmen
Change-Id: I76671a74150791e1a74ece3d5bcf40fd6c727ac7
Diffstat (limited to 'sw/source/filter/xml/xmlfmt.cxx')
-rw-r--r--sw/source/filter/xml/xmlfmt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmlfmt.cxx b/sw/source/filter/xml/xmlfmt.cxx
index e4ecd3e4ef41..f8e9e33ddc0b 100644
--- a/sw/source/filter/xml/xmlfmt.cxx
+++ b/sw/source/filter/xml/xmlfmt.cxx
@@ -299,7 +299,7 @@ uno::Reference < style::XStyle > SwXMLTextStyleContext_Impl::Create()
uno::Reference < uno::XInterface > xIfc =
xFactory->createInstance( "com.sun.star.style.ConditionalParagraphStyle" );
if( xIfc.is() )
- xNewStyle = uno::Reference < style::XStyle >( xIfc, uno::UNO_QUERY );
+ xNewStyle.set( xIfc, uno::UNO_QUERY );
}
}
else