diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-02-12 15:34:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-02-15 08:37:59 +0100 |
commit | 881d8470eb9ede52690dbd75c02f72c6ee422261 (patch) | |
tree | 991318034ecf2849e2fd531c9b7c421e4249daec /sw/qa/unit | |
parent | 0ae0b7ff575b4148f9c06abd3bac78d0881ec817 (diff) |
loplugin:referencecasting in sw
Change-Id: Ie923fc8baaa26938378407f6e5f3c50b2cea7cca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110815
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/qa/unit')
-rw-r--r-- | sw/qa/unit/swmodeltestbase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/unit/swmodeltestbase.cxx b/sw/qa/unit/swmodeltestbase.cxx index 3a1c6b89e9d6..389809346d37 100644 --- a/sw/qa/unit/swmodeltestbase.cxx +++ b/sw/qa/unit/swmodeltestbase.cxx @@ -474,7 +474,7 @@ void SwModelTestBase::setTestInteractionHandler(const char* pPassword, rFilterOptions.emplace_back(); xInteractionHandler = rtl::Reference<TestInteractionHandler>(new TestInteractionHandler(sPassword)); - uno::Reference<task::XInteractionHandler2> const xInteraction(xInteractionHandler.get()); + uno::Reference<task::XInteractionHandler2> const xInteraction(xInteractionHandler); rFilterOptions[0].Name = "InteractionHandler"; rFilterOptions[0].Value <<= xInteraction; } |