summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-13 14:49:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-15 08:40:38 +0200
commit3deaeb9380d43d35cba82e1427492ca6ad0ea01f (patch)
tree39bbf725b963512d6cf9e451ec5e6e06f67ada0f /include
parent9467f10de690c622a210120e1963b2d755875a6b (diff)
pass IMapObject around by std::unique_ptr
and avoid some unnecessary copying Change-Id: Ieb9b1fe169a7d56197bf1e054e9af5dca7804301 Reviewed-on: https://gerrit.libreoffice.org/59019 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svtools/imap.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svtools/imap.hxx b/include/svtools/imap.hxx
index af094cbab817..e0129bffce07 100644
--- a/include/svtools/imap.hxx
+++ b/include/svtools/imap.hxx
@@ -77,6 +77,7 @@ public:
// a new IMap object is inserted at the end of the Map
void InsertIMapObject( const IMapObject& rIMapObject );
+ void InsertIMapObject( std::unique_ptr<IMapObject> rIMapObject );
// access to the single ImapObjects; the objects may
// not be destroyed from outside