summaryrefslogtreecommitdiff
path: root/include/svx/svdxcgv.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-29 16:27:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-30 09:46:37 +0200
commitb99c69784e8bb7b477759f14058a707e9000e56d (patch)
tree83a87f074a4f6abcecbfa8a5f5965c64893a0454 /include/svx/svdxcgv.hxx
parent5ff20b1c726509ad88058c953406a2bd0c8e194b (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 'include/svx/svdxcgv.hxx')
-rw-r--r--include/svx/svdxcgv.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdxcgv.hxx b/include/svx/svdxcgv.hxx
index 52dc63b1a282..731c9a392f53 100644
--- a/include/svx/svdxcgv.hxx
+++ b/include/svx/svdxcgv.hxx
@@ -70,7 +70,7 @@ public:
// the page-local layer is merged. If there's no more room left for
// additional page-local layers, the corresponding objects are assigned
// the default layer (layer 0, document-global standard layer).
- virtual SdrModel* GetMarkedObjModel() const;
+ virtual std::unique_ptr<SdrModel> CreateMarkedObjModel() const;
Graphic GetAllMarkedGraphic() const;