summaryrefslogtreecommitdiff
path: root/sw/qa/uibase
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-12 15:34:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-15 08:37:59 +0100
commit881d8470eb9ede52690dbd75c02f72c6ee422261 (patch)
tree991318034ecf2849e2fd531c9b7c421e4249daec /sw/qa/uibase
parent0ae0b7ff575b4148f9c06abd3bac78d0881ec817 (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/uibase')
-rw-r--r--sw/qa/uibase/dochdl/dochdl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/uibase/dochdl/dochdl.cxx b/sw/qa/uibase/dochdl/dochdl.cxx
index 88ad5f7545d0..cd555acc7a7b 100644
--- a/sw/qa/uibase/dochdl/dochdl.cxx
+++ b/sw/qa/uibase/dochdl/dochdl.cxx
@@ -33,7 +33,7 @@ CPPUNIT_TEST_FIXTURE(SwUibaseDochdlTest, testSelectPasteFormat)
// Decide what format to use when doing a Writer->Writer paste and both RTF and ODF is an
// available format.
- TransferableDataHelper aHelper(pTransfer.get());
+ TransferableDataHelper aHelper(pTransfer);
sal_uInt8 nAction = EXCHG_OUT_ACTION_INSERT_STRING;
SotClipboardFormatId nFormat = SotClipboardFormatId::RICHTEXT;
SwTransferable::SelectPasteFormat(aHelper, nAction, nFormat);