summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-12 13:44:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-13 07:49:19 +0100
commitfd88c4b45426600bd09fc47f8df9ac1cb8030e95 (patch)
tree1ba88bd0f8e40b9b82e127945b81444e31f7afa2 /sd
parent71048589d4a653614d2fa35294a324111ef2759f (diff)
use std::unique_ptr in SdrModel
Change-Id: I1475a12b600fdb693bad71d27dc628992b92588a Reviewed-on: https://gerrit.libreoffice.org/46346 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/drawdoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx
index 620607507790..e2ba0daef116 100644
--- a/sd/source/core/drawdoc.cxx
+++ b/sd/source/core/drawdoc.cxx
@@ -282,7 +282,7 @@ SdDrawDocument::SdDrawDocument(DocumentType eType, SfxObjectShell* pDrDocSh)
// NewOrLoadCompleted, because only then do all the templates exist.
pHitTestOutliner->SetStyleSheetPool( static_cast<SfxStyleSheetPool*>(GetStyleSheetPool()) );
- SetCalcFieldValueHdl( pHitTestOutliner );
+ SetCalcFieldValueHdl( pHitTestOutliner.get() );
try
{