diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-09 16:39:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-09 20:42:44 +0200 |
commit | 7d361e96c9ea822790db21806e9fc05279423833 (patch) | |
tree | 4a158bdac2bd6df4ec2fc3c5a810003c1dd41ff6 /reportdesign/source/ui/report | |
parent | 4b0afe968ed62ac65d5f04918f4cda501ecf1619 (diff) |
loplugin:redundantpointerops
(All related to uses of std::shared_ptr, which builds against libstdc++
apparently missed (fix forthcoming) and which I only now found with my macOS
build against libc++.)
Change-Id: If581e689f0e5ff62d9ce35513c9ff87b00328766
Reviewed-on: https://gerrit.libreoffice.org/80548
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'reportdesign/source/ui/report')
-rw-r--r-- | reportdesign/source/ui/report/ReportSection.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx index 6c8b6af013ab..84236084c00d 100644 --- a/reportdesign/source/ui/report/ReportSection.cxx +++ b/reportdesign/source/ui/report/ReportSection.cxx @@ -259,7 +259,7 @@ void OReportSection::Paste(const uno::Sequence< beans::NamedValue >& _aAllreadyC if ( pObject ) { // Clone to target SdrModel - SdrObject* pNewObj(pObject->CloneSdrObject(*m_pModel.get())); + SdrObject* pNewObj(pObject->CloneSdrObject(*m_pModel)); m_pPage->InsertObject(pNewObj, SAL_MAX_SIZE); tools::Rectangle aRet(VCLPoint(rCopy->getPosition()),VCLSize(rCopy->getSize())); aRet.setHeight(aRet.getHeight() + 1); |