From ccb2a1f650bc505f8a4f1abebf8ce4f9396562a8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 16 Oct 2018 15:23:12 +0200 Subject: clang-tidy readability-redundant-smartptr-get redundant get() call on smart pointer Change-Id: Icb5a03bbc15e79a30d3d135a507d22914d15c2bd Reviewed-on: https://gerrit.libreoffice.org/61837 Tested-by: Jenkins Reviewed-by: Noel Grandin --- formula/source/ui/dlg/formula.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'formula') diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index f97001045ee5..3d53e47c3efd 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -566,7 +566,7 @@ void FormulaDlg_Impl::UpdateValues( bool bForceRecalcStruct ) // is supported, i.e. the button is visible. if (m_pBtnMatrix->IsVisible() && !m_pBtnMatrix->IsChecked()) { - std::unique_ptr pCompiler( m_pHelper->createCompiler( *m_pTokenArray.get())); + std::unique_ptr pCompiler(m_pHelper->createCompiler(*m_pTokenArray)); // In the case of the reportdesign dialog there is no currently active // OpCode symbol mapping that could be used to create strings from // tokens, it's all dreaded API mapping. However, in that case there's @@ -825,7 +825,7 @@ void FormulaDlg_Impl::UpdateTokenArray( const OUString& rStrExp) } } // if ( pTokens && nLen == m_aTokenList.getLength() ) - std::unique_ptr pCompiler( m_pHelper->createCompiler(*m_pTokenArray.get())); + std::unique_ptr pCompiler(m_pHelper->createCompiler(*m_pTokenArray)); // #i101512# Disable special handling of jump commands. pCompiler->EnableJumpCommandReorder(false); pCompiler->EnableStopOnError(false); -- cgit