diff options
Diffstat (limited to 'include/svtools/treelistbox.hxx')
-rw-r--r-- | include/svtools/treelistbox.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx index a4f6baf2feb1..9907e4358397 100644 --- a/include/svtools/treelistbox.hxx +++ b/include/svtools/treelistbox.hxx @@ -153,9 +153,8 @@ public: // If != 0: this Pointer must be used! // If == 0: it needs to be retrieved via the View SvViewDataItem* pViewData = nullptr) = 0; - virtual SvLBoxItem* Create() const = 0; // View-dependent data is not cloned - virtual void Clone(SvLBoxItem* pSource) = 0; + virtual std::unique_ptr<SvLBoxItem> Clone(SvLBoxItem const * pSource) const = 0; }; enum class DragDropMode |