diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-02-12 15:36:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-02-15 08:38:42 +0100 |
commit | 948c29710a0bb168ec07e3aca510fa6860f2da52 (patch) | |
tree | 6f65e78012a6a127c6efe2eaa9ba4ba57bc8302f /svx/source/form/fmview.cxx | |
parent | 881d8470eb9ede52690dbd75c02f72c6ee422261 (diff) |
loplugin:referencecasting in svx
Change-Id: I072ba9da976cefd61f4a916e70b0601439e8a123
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110818
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/form/fmview.cxx')
-rw-r--r-- | svx/source/form/fmview.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/fmview.cxx b/svx/source/form/fmview.cxx index 34e3f228cbb4..b8a0ed479719 100644 --- a/svx/source/form/fmview.cxx +++ b/svx/source/form/fmview.cxx @@ -141,7 +141,7 @@ void FmFormView::MarkListHasChanged() pImpl->m_pMarkedGrid = nullptr; if ( pImpl->m_xWindow.is() ) { - pImpl->m_xWindow->removeFocusListener(pImpl.get()); + pImpl->m_xWindow->removeFocusListener(pImpl); pImpl->m_xWindow = nullptr; } SetMoveOutside(false); @@ -472,7 +472,7 @@ bool FmFormView::KeyInput(const KeyEvent& rKEvt, vcl::Window* pWin) pImpl->m_pMarkedGrid = pObj; pImpl->m_xWindow = xWindow; // add as listener to get notified when ESC will be pressed inside the grid - pImpl->m_xWindow->addFocusListener(pImpl.get()); + pImpl->m_xWindow->addFocusListener(pImpl); SetMoveOutside(true); //OLMRefreshAllIAOManagers(); xWindow->setFocus(); |