diff options
Diffstat (limited to 'sc/source/ui/docshell/dbdocfun.cxx')
-rw-r--r-- | sc/source/ui/docshell/dbdocfun.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx index a0f85a2712bd..f1441235e229 100644 --- a/sc/source/ui/docshell/dbdocfun.cxx +++ b/sc/source/ui/docshell/dbdocfun.cxx @@ -1458,7 +1458,7 @@ bool ScDBDocFunc::CreatePivotTable(const ScDPObject& rDPObj, bool bRecord, bool } } - rDoc.GetDPCollection()->InsertNewTable(pDestObj.release()); + rDoc.GetDPCollection()->InsertNewTable(std::move(pDestObj)); rDestObj.ReloadGroupTableData(); rDestObj.SyncAllDimensionMembers(); |