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 00:35:10 +0100 |
commit | 7faa218231b7a807412feada3aa1223b43b5626e (patch) | |
tree | 08ea7a2e4fc9e88a8158dc0c8392555b94138e27 /basctl/source/basicide/basidesh.cxx | |
parent | e1082e45361a92a31adedcc3ed0a35c704bca543 (diff) |
ofz#6311 still problems with SdrEdgeObj listening to same obj at start as end
Change-Id: Ibd80b484788779b73943b28a5f36e51ebcacec30
Reviewed-on: https://gerrit.libreoffice.org/49821
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/source/basicide/basidesh.cxx')
-rw-r--r-- | basctl/source/basicide/basidesh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index 8c5518d17160..ad39f4c84b70 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 { |