diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-29 19:26:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-30 13:51:19 +0200 |
commit | c57d9a50369b39775be931753e83aacfee56504b (patch) | |
tree | 48e11033b7b39cb2da43aa560857c950a006f8fe /svx/source | |
parent | f59334988a77eece1cae7d63e0df4320beebf384 (diff) |
Fix typo in code
Change-Id: Ib7f77b2c84c375158d88114e827754f47ee246bd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101651
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/fmcomp/gridcell.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index 405c3522dc6b..e822a89dc961 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -1314,9 +1314,9 @@ void DbFormattedField::Init( BrowserDataWin& rParent, const Reference< XRowSet > SvNumberFormatter* pFormatterUsed = nullptr; if (m_xSupplier.is()) { - SvNumberFormatsSupplierObj* pImplmentation = comphelper::getUnoTunnelImplementation<SvNumberFormatsSupplierObj>(m_xSupplier); - if (pImplmentation) - pFormatterUsed = pImplmentation->GetNumberFormatter(); + SvNumberFormatsSupplierObj* pImplementation = comphelper::getUnoTunnelImplementation<SvNumberFormatsSupplierObj>(m_xSupplier); + if (pImplementation) + pFormatterUsed = pImplementation->GetNumberFormatter(); else // Everything is invalid: the supplier is of the wrong type, then we can not // rely on a standard formatter to know the (possibly non-standard) key. @@ -1902,8 +1902,8 @@ void DbNumericField::implAdjustGenericFieldSetting( const Reference< XPropertySe SvNumberFormatter* pFormatterUsed = nullptr; if ( xSupplier.is() ) { - SvNumberFormatsSupplierObj* pImplmentation = comphelper::getUnoTunnelImplementation<SvNumberFormatsSupplierObj>( xSupplier ); - pFormatterUsed = pImplmentation ? pImplmentation->GetNumberFormatter() : nullptr; + SvNumberFormatsSupplierObj* pImplementation = comphelper::getUnoTunnelImplementation<SvNumberFormatsSupplierObj>( xSupplier ); + pFormatterUsed = pImplementation ? pImplementation->GetNumberFormatter() : nullptr; } if ( nullptr == pFormatterUsed ) { // the cursor didn't lead to success -> standard |