diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-09 19:41:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-10 11:34:25 +0200 |
commit | 4b3430f27a01a256e268aa19d51f7c2e1a61534c (patch) | |
tree | 5b9c58b9c9ab6503a132bc6b1e3f64e5bd190fff /reportdesign/source/ui/misc/UITools.cxx | |
parent | 926e4e469d0285ee72f8da80f00370b4b3120417 (diff) |
loplugin:simplifyconstruct in reportdesign..sax
Change-Id: I7d2a754cdc5576b5a5b35db2fbffd19ea17c16ff
Reviewed-on: https://gerrit.libreoffice.org/60224
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source/ui/misc/UITools.cxx')
-rw-r--r-- | reportdesign/source/ui/misc/UITools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/misc/UITools.cxx b/reportdesign/source/ui/misc/UITools.cxx index ee453e217c60..af753020146d 100644 --- a/reportdesign/source/ui/misc/UITools.cxx +++ b/reportdesign/source/ui/misc/UITools.cxx @@ -176,7 +176,7 @@ void adjustSectionName(const uno::Reference< report::XGroup >& _xGroup,sal_Int32 ::rtl::Reference< comphelper::OPropertyChangeMultiplexer> addStyleListener(const uno::Reference< report::XReportDefinition >& _xReportDefinition,::comphelper::OPropertyChangeListener* _pListener) { - ::rtl::Reference< comphelper::OPropertyChangeMultiplexer> pRet = nullptr; + ::rtl::Reference< comphelper::OPropertyChangeMultiplexer> pRet; if ( _xReportDefinition.is() ) { uno::Reference<beans::XPropertySet> xPageStyle(getUsedStyle(_xReportDefinition),uno::UNO_QUERY); |