diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-11-01 09:05:58 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-11-01 15:26:10 +0000 |
commit | 0e6544903bc572d1d6051cbb89a4cfb727401159 (patch) | |
tree | 5090895789c763971457ef11fc8de55aed77d019 /extensions/source | |
parent | b5db48ada113206ac090e4a08f2ae211859103ed (diff) |
no need to be so verbose in constructing uno::Reference
Change-Id: I187a26e200e9ecaff2adaf53a2ba3f6e87346030
Reviewed-on: https://gerrit.libreoffice.org/19724
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/bibliography/framectr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx index 596d51276ecd..abc6a672cd88 100644 --- a/extensions/source/bibliography/framectr.cxx +++ b/extensions/source/bibliography/framectr.cxx @@ -357,12 +357,12 @@ bool BibFrameController_Impl::SaveModified(const Reference< form::runtime::XForm if (!xController.is()) return false; - Reference< XResultSetUpdate> _xCursor = Reference< XResultSetUpdate>(xController->getModel(), UNO_QUERY); + Reference< XResultSetUpdate> _xCursor(xController->getModel(), UNO_QUERY); if (!_xCursor.is()) return false; - Reference< beans::XPropertySet> _xSet = Reference< beans::XPropertySet>(_xCursor, UNO_QUERY); + Reference< beans::XPropertySet> _xSet(_xCursor, UNO_QUERY); if (!_xSet.is()) return false; |