diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-11 12:35:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-12 08:49:53 +0200 |
commit | e1d3ecb498c9b28731392a6cb8557fe73fcfb5e9 (patch) | |
tree | ad38427e73be092e7ee33c98e1c24874e3230a0e /svl/source/numbers | |
parent | 97930797d2346ceaded866fd7c1dd4c3c9916015 (diff) |
loplugin:simplifyconstruct in stoc..svl
Change-Id: I81d465d66a979e9a1e092e5d23ed339840d1fb2d
Reviewed-on: https://gerrit.libreoffice.org/60315
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source/numbers')
-rw-r--r-- | svl/source/numbers/supservs.cxx | 3 | ||||
-rw-r--r-- | svl/source/numbers/zforfind.cxx | 8 |
2 files changed, 1 insertions, 10 deletions
diff --git a/svl/source/numbers/supservs.cxx b/svl/source/numbers/supservs.cxx index 9a287a75c148..8fc748c6d4a1 100644 --- a/svl/source/numbers/supservs.cxx +++ b/svl/source/numbers/supservs.cxx @@ -39,8 +39,7 @@ using namespace ::utl; SvNumberFormatsSupplierServiceObject::SvNumberFormatsSupplierServiceObject(const css::uno::Reference< css::uno::XComponentContext >& _rxORB) - :m_pOwnFormatter(nullptr) - ,m_xORB(_rxORB) + :m_xORB(_rxORB) { } diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx index be310b5cf390..eb77b6c6ce66 100644 --- a/svl/source/numbers/zforfind.cxx +++ b/svl/source/numbers/zforfind.cxx @@ -70,14 +70,6 @@ static const sal_Int16 kDefaultEra = 1; // Gregorian CE, positive year ImpSvNumberInputScan::ImpSvNumberInputScan( SvNumberFormatter* pFormatterP ) : - pUpperMonthText( nullptr ), - pUpperAbbrevMonthText( nullptr ), - pUpperGenitiveMonthText( nullptr ), - pUpperGenitiveAbbrevMonthText( nullptr ), - pUpperPartitiveMonthText( nullptr ), - pUpperPartitiveAbbrevMonthText( nullptr ), - pUpperDayText( nullptr ), - pUpperAbbrevDayText( nullptr ), bTextInitialized( false ), bScanGenitiveMonths( false ), bScanPartitiveMonths( false ), |