summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/undodat.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/undodat.hxx')
-rw-r--r--sc/source/ui/inc/undodat.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/inc/undodat.hxx b/sc/source/ui/inc/undodat.hxx
index 486fe07d11ca..5060bf0c1059 100644
--- a/sc/source/ui/inc/undodat.hxx
+++ b/sc/source/ui/inc/undodat.hxx
@@ -244,7 +244,7 @@ private:
public:
ScUndoAutoFilter( ScDocShell* pNewDocShell, const ScRange& rRange,
- const OUString& rName, bool bSet );
+ OUString aName, bool bSet );
virtual ~ScUndoAutoFilter() override;
virtual void Undo() override;
@@ -388,10 +388,10 @@ class ScUndoChartData: public ScSimpleUndo
{
public:
ScUndoChartData( ScDocShell* pNewDocShell,
- const OUString& rName, const ScRange& rNew,
+ OUString aName, const ScRange& rNew,
bool bColHdr, bool bRowHdr, bool bAdd );
ScUndoChartData( ScDocShell* pNewDocShell,
- const OUString& rName, const ScRangeListRef& rNew,
+ OUString aName, ScRangeListRef xNew,
bool bColHdr, bool bRowHdr, bool bAdd );
virtual ~ScUndoChartData() override;