diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-29 16:27:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-30 09:46:37 +0200 |
commit | b99c69784e8bb7b477759f14058a707e9000e56d (patch) | |
tree | 83a87f074a4f6abcecbfa8a5f5965c64893a0454 /chart2 | |
parent | 5ff20b1c726509ad88058c953406a2bd0c8e194b (diff) |
rename GetMarkedObjModel to CreateMarkedObjModel
and return std::unique_ptr
Not that it helps much, the ownership quickly becomes complex once it
hits the TransferableHelper.
Change-Id: I3c6bd72072e092b71b32e4105fe859fdcea956af
Reviewed-on: https://gerrit.libreoffice.org/59777
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartTransferable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ChartTransferable.cxx b/chart2/source/controller/main/ChartTransferable.cxx index 90660c07e1cb..9ace159756e1 100644 --- a/chart2/source/controller/main/ChartTransferable.cxx +++ b/chart2/source/controller/main/ChartTransferable.cxx @@ -63,7 +63,7 @@ ChartTransferable::ChartTransferable( m_xMetaFileGraphic.set( aGraphic.GetXGraphic()); if ( m_bDrawing ) { - m_pMarkedObjModel = pExchgView->GetMarkedObjModel(); + m_pMarkedObjModel = pExchgView->CreateMarkedObjModel().release(); } } |