diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-12 17:09:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-12 19:59:33 +0100 |
commit | 56e0bd7f4280c52111ba211fee618a412b2b7e9c (patch) | |
tree | 17600e9b98071fcdff1a81976b1250cc53459a4d /sw/source/uibase/ribbar | |
parent | 285cd7e48ec3f3be2e50b2f3f658ef9aa2092d40 (diff) |
loplugin:reftotemp in sw
Change-Id: I370d18643b0c83c60846a0b6f051440a043c647a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176486
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/ribbar')
-rw-r--r-- | sw/source/uibase/ribbar/inputwin.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/ribbar/inputwin.cxx b/sw/source/uibase/ribbar/inputwin.cxx index 0f01b7724ffc..590b9671d3e6 100644 --- a/sw/source/uibase/ribbar/inputwin.cxx +++ b/sw/source/uibase/ribbar/inputwin.cxx @@ -204,12 +204,12 @@ void SwInputWindow::ShowWin() SelTableCellsNotify) ); if( m_bIsTable ) { - const OUString& rPos = m_pWrtShell->GetBoxNms(); + const OUString aPos = m_pWrtShell->GetBoxNms(); sal_Int32 nPos = 0; short nSrch = -1; - while( (nPos = rPos.indexOf( ':',nPos + 1 ) ) != -1 ) + while( (nPos = aPos.indexOf( ':',nPos + 1 ) ) != -1 ) nSrch = static_cast<short>(nPos); - mxPos->set_text( rPos.copy( ++nSrch ) ); + mxPos->set_text( aPos.copy( ++nSrch ) ); m_aCurrentTableName = m_pWrtShell->GetTableFormat()->GetName(); } else |