summaryrefslogtreecommitdiff
path: root/sc/source/ui/optdlg/tpusrlst.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/optdlg/tpusrlst.cxx')
-rw-r--r--sc/source/ui/optdlg/tpusrlst.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx
index ad86994ab441..c1176a4fa641 100644
--- a/sc/source/ui/optdlg/tpusrlst.cxx
+++ b/sc/source/ui/optdlg/tpusrlst.cxx
@@ -131,8 +131,8 @@ void ScTpUserLists::Init()
PutInOrder( nStartRow, nEndRow );
PutInOrder( nStartTab, nEndTab );
- ScRange( nStartCol, nStartRow, nStartTab, nEndCol, nEndRow, nEndTab
- ).Format( aStrSelectedArea, SCR_ABS_3D, pDoc );
+ aStrSelectedArea = ScRange( nStartCol, nStartRow, nStartTab, nEndCol, nEndRow, nEndTab
+ ).Format(SCR_ABS_3D, pDoc);
mpBtnCopy->SetClickHdl ( LINK( this, ScTpUserLists, BtnClickHdl ) );
mpBtnCopy->Enable();