summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-16 08:54:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-16 08:57:02 +0100
commit7874cba9709dd0973a81d5894d6daa9570ac86bf (patch)
tree2430e1d2b7a0587dd33d2f593c61b75d081fd997 /basctl
parentbe92ed5799e7f8dab0d8d1042135afe38b7f258f (diff)
loplugin:referencecasting in basctl..binaryurp
Change-Id: I3fbc287cf76e453e2c464837d2431ff19501fde3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110968 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2b.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 3bb09f3bb140..4da4b8fc1956 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -257,7 +257,7 @@ EditorWindow::EditorWindow (vcl::Window* pParent, ModulWindow* pModulWindow) :
notifier_ = n;
}
const Sequence<OUString> aPropertyNames{"FontHeight", "FontName"};
- n->addPropertiesChangeListener(aPropertyNames, listener_.get());
+ n->addPropertiesChangeListener(aPropertyNames, listener_);
}
@@ -280,7 +280,7 @@ void EditorWindow::dispose()
n = notifier_;
}
if (n.is()) {
- n->removePropertiesChangeListener(listener_.get());
+ n->removePropertiesChangeListener(listener_);
}
aSyntaxIdle.Stop();