summaryrefslogtreecommitdiff
path: root/sc/source/ui/app
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-04-17 15:59:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-04-17 22:22:38 +0200
commitd69db73ec1de29ec5b72cdcd2a64873b92cac672 (patch)
tree004a17c7ac877dceee3866ae721fb47955e5da12 /sc/source/ui/app
parentb6075c3afed5837a79a9c509f5b38f38eeacf6dc (diff)
m_mapRefWindow is unneeded now
Change-Id: I68811d64ed340f3b5f86d7c13289455009eea74e Reviewed-on: https://gerrit.libreoffice.org/70890 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r--sc/source/ui/app/scmod.cxx31
1 files changed, 0 insertions, 31 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index c701866a66d4..082b4e32c929 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -2197,37 +2197,6 @@ IMPL_LINK( ScModule, CalcFieldValueHdl, EditFieldInfo*, pInfo, void )
}
}
-void ScModule::RegisterRefWindow( sal_uInt16 nSlotId, vcl::Window *pWnd )
-{
- std::vector<VclPtr<vcl::Window> > & rlRefWindow = m_mapRefWindow[nSlotId];
-
- if( std::find( rlRefWindow.begin(), rlRefWindow.end(), pWnd ) == rlRefWindow.end() )
- {
- rlRefWindow.emplace_back(pWnd );
- }
-
-}
-
-void ScModule::UnregisterRefWindow( sal_uInt16 nSlotId, vcl::Window *pWnd )
-{
- auto iSlot = m_mapRefWindow.find( nSlotId );
-
- if( iSlot == m_mapRefWindow.end() )
- return;
-
- std::vector<VclPtr<vcl::Window> > & rlRefWindow = iSlot->second;
-
- auto i = std::find( rlRefWindow.begin(), rlRefWindow.end(), pWnd );
-
- if( i == rlRefWindow.end() )
- return;
-
- rlRefWindow.erase( i );
-
- if( rlRefWindow.empty() )
- m_mapRefWindow.erase( nSlotId );
-}
-
void ScModule::RegisterRefController(sal_uInt16 nSlotId, std::shared_ptr<SfxDialogController>& rWnd, weld::Window* pWndAncestor)
{
std::vector<std::pair<std::shared_ptr<SfxDialogController>, weld::Window*>> & rlRefWindow = m_mapRefController[nSlotId];