summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/docfunc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/docfunc.hxx')
-rw-r--r--sc/source/ui/inc/docfunc.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/docfunc.hxx b/sc/source/ui/inc/docfunc.hxx
index 00e48f29b9eb..7252612c5b35 100644
--- a/sc/source/ui/inc/docfunc.hxx
+++ b/sc/source/ui/inc/docfunc.hxx
@@ -194,7 +194,7 @@ public:
bool UnmergeCells( const ScCellMergeOption& rOption, bool bRecord, ScUndoRemoveMerge* pUndoRemoveMerge );
// takes ownership of pNewRanges, nTab = -1 for local range names
- void SetNewRangeNames( ScRangeName* pNewRanges, bool bModifyDoc, SCTAB nTab );
+ void SetNewRangeNames( std::unique_ptr<ScRangeName> pNewRanges, bool bModifyDoc, SCTAB nTab );
void ModifyRangeNames( const ScRangeName& rNewRanges, SCTAB nTab = -1 );
/**
* Modify all range names, global scope names as well as sheet local ones,