svx/source/fmcomp/gridcell.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
New commits: commit c57d9a50369b39775be931753e83aacfee56504b Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Sat Aug 29 19:26:50 2020 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sun Aug 30 13:51:19 2020 +0200 Fix typo in code Change-Id: Ib7f77b2c84c375158d88114e827754f47ee246bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101651 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits