diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-07 15:45:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-08 08:26:23 +0200 |
commit | 231e16d9091c2d318d99c2f2eb985311e7138127 (patch) | |
tree | 7b8d30778cdb696cdf4c0ec80a58f6b488e4d5e5 /starmath/source | |
parent | e47172ce2ac486b909ee8f46380dca8efedb6a24 (diff) |
loplugin:redundantpointerops simplify *p.get()
Change-Id: I12517651fb3f777fd08e384992bb3e84b340ad85
Reviewed-on: https://gerrit.libreoffice.org/80382
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/ElementsDockingWindow.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx index daef8f190e2b..578851fb4af1 100644 --- a/starmath/source/ElementsDockingWindow.cxx +++ b/starmath/source/ElementsDockingWindow.cxx @@ -798,7 +798,7 @@ void SmElementsControl::KeyInput(const KeyEvent& rKEvt) case KEY_SPACE: assert(m_nCurrentElement < maElementList.size()); assert(maSelectHdlLink.IsSet()); - maSelectHdlLink.Call(*maElementList[m_nCurrentElement].get()); + maSelectHdlLink.Call(*maElementList[m_nCurrentElement]); collectUIInformation(OUString::number(m_nCurrentElement)); break; @@ -1062,7 +1062,7 @@ bool SmElementsControl::itemTrigger(sal_uInt16 nPos) if (nPos < m_nCurrentOffset || (nPos -= m_nCurrentOffset) >= maElementList.size()) return false; - maSelectHdlLink.Call(*maElementList[nPos].get()); + maSelectHdlLink.Call(*maElementList[nPos]); collectUIInformation(OUString::number(nPos)); return true; } |