diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-05 13:26:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-05 13:32:17 +0200 |
commit | 9e8ff13eb2405f7e3dcb4f90cb38e9e4b1da2bd5 (patch) | |
tree | ea4cd1922080d73b82a5b4bd4796d6190430f3fa /xmloff/source/style/styleexp.cxx | |
parent | 281296330735158d6265e0b146b5d5301f6e610e (diff) |
use uno::Reference::set method instead of assignment
Change-Id: I60e52ef2abc3107ba77e81811dfe1bffbfd77218
Diffstat (limited to 'xmloff/source/style/styleexp.cxx')
-rw-r--r-- | xmloff/source/style/styleexp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/styleexp.cxx b/xmloff/source/style/styleexp.cxx index 7ea0ba1e23c2..0625ce210eb8 100644 --- a/xmloff/source/style/styleexp.cxx +++ b/xmloff/source/style/styleexp.cxx @@ -275,7 +275,7 @@ bool XMLStyleExport::exportStyle( } else { - xPropState = Reference< XPropertyState >( xStyles->getByName( aParentStyle ), UNO_QUERY ); + xPropState.set( xStyles->getByName( aParentStyle ), UNO_QUERY ); if ( !xPropState.is() ) { break; @@ -287,7 +287,7 @@ bool XMLStyleExport::exportStyle( } else { - xStyle = Reference<XStyle>( xPropState, UNO_QUERY ); + xStyle.set( xPropState, UNO_QUERY ); } } } |