diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-02-15 14:10:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-02-16 09:17:22 +0100 |
commit | 5a8ea2218a352561a3f494af545d9b978766a513 (patch) | |
tree | 39d49e96342fd94374050cfa56e17e0ec623cae5 /basctl | |
parent | 56b96f3cc1f03313afade4f642861efb76d0bb54 (diff) |
ofz#6311 still problems with SdrEdgeObj listening to same obj at start as end
Change-Id: Ibd80b484788779b73943b28a5f36e51ebcacec30
Reviewed-on: https://gerrit.libreoffice.org/49824
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basides1.cxx | 4 | ||||
-rw-r--r-- | basctl/source/basicide/basidesh.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index db3945369fc8..373dcd53eb67 100644 --- a/basctl/source/basicide/basides1.cxx +++ b/basctl/source/basicide/basides1.cxx @@ -282,7 +282,7 @@ void Shell::ExecuteGlobal( SfxRequest& rReq ) ScriptDocument aDocument( ScriptDocument::getDocumentForBasicManager( pBasMgr ) ); - StartListening( *pBasMgr, true /* log on only once */ ); + StartListening(*pBasMgr, DuplicateHandling::Prevent /* log on only once */); OUString aLibName( rInfo.GetLib() ); if ( aLibName.isEmpty() ) aLibName = "Standard" ; @@ -1229,7 +1229,7 @@ VclPtr<ModulWindow> Shell::ShowActiveModuleWindow( StarBASIC const * pBasic ) else SAL_WARN( "basctl.basicide", "No BASIC!"); if (BasicManager* pBasicMgr = FindBasicManager(pBasic)) - StartListening( *pBasicMgr, true /* log on only once */ ); + StartListening(*pBasicMgr, DuplicateHandling::Prevent /* log on only once */); return pWin; } return nullptr; diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index 88d9f280645a..2519d39ea845 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -633,7 +633,7 @@ void Shell::UpdateWindows() ++doc ) { - StartListening( *doc->getBasicManager(), true /* log on only once */ ); + StartListening(*doc->getBasicManager(), DuplicateHandling::Prevent /* log on only once */); // libraries Sequence< OUString > aLibNames( doc->getLibraryNames() ); @@ -669,7 +669,7 @@ void Shell::UpdateWindows() { StarBASIC* pLib = doc->getBasicManager()->GetLib( aLibName ); if ( pLib ) - StartListening( pLib->GetBroadcaster(), true /* log on only once */ ); + StartListening(pLib->GetBroadcaster(), DuplicateHandling::Prevent /* log on only once */); try { |