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/source/uibase/app/docshdrw.cxx | |
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/source/uibase/app/docshdrw.cxx')
-rw-r--r-- | sw/source/uibase/app/docshdrw.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docshdrw.cxx b/sw/source/uibase/app/docshdrw.cxx index e9a8b2e3160d..f767191fbd10 100644 --- a/sw/source/uibase/app/docshdrw.cxx +++ b/sw/source/uibase/app/docshdrw.cxx @@ -70,7 +70,7 @@ void InitDrawModelAndDocShell(SwDocShell* pSwDocShell, SwDrawModel* pSwDrawDocum // docshell and then to the drawdocument xColorList = XColorList::GetStdColorList(); pSwDocShell->PutItem(SvxColorListItem(xColorList, SID_COLOR_TABLE)); - pSwDrawDocument->SetPropertyList(xColorList.get()); + pSwDrawDocument->SetPropertyList(xColorList); } } |