summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/mvtabdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/miscdlgs/mvtabdlg.cxx')
-rw-r--r--sc/source/ui/miscdlgs/mvtabdlg.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/miscdlgs/mvtabdlg.cxx b/sc/source/ui/miscdlgs/mvtabdlg.cxx
index 80eeaeadecfa..9cc587aa56e0 100644
--- a/sc/source/ui/miscdlgs/mvtabdlg.cxx
+++ b/sc/source/ui/miscdlgs/mvtabdlg.cxx
@@ -25,10 +25,11 @@
#include <globstr.hrc>
#include <scresid.hxx>
#include <comphelper/lok.hxx>
+#include <utility>
-ScMoveTableDlg::ScMoveTableDlg(weld::Window* pParent, const OUString& rDefault)
+ScMoveTableDlg::ScMoveTableDlg(weld::Window* pParent, OUString aDefault)
: GenericDialogController(pParent, "modules/scalc/ui/movecopysheet.ui", "MoveCopySheetDialog")
- , maDefaultName(rDefault)
+ , maDefaultName(std::move(aDefault))
, mnCurrentDocPos(0)
, nDocument(0)
, nTable(0)