summaryrefslogtreecommitdiff
path: root/sc/source/ui/optdlg
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-01-30 01:19:15 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-01-30 01:20:34 -0500
commit8a39c27633e75819e219bc5d179375fb4308a3ca (patch)
treeaf686f911cb9bf2637c7d969f942828323d67032 /sc/source/ui/optdlg
parentef6761fd95b52fc5f444dd076478300fa448ee0d (diff)
Let's stick with just one variant of ScDocument::GetString()...
Instead of having 3 of them. Change-Id: I2de9b63c33b7362162a56ea391f8b68a468163fa
Diffstat (limited to 'sc/source/ui/optdlg')
-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 e6b01070b393..5b4f7630ea5c 100644
--- a/sc/source/ui/optdlg/tpusrlst.cxx
+++ b/sc/source/ui/optdlg/tpusrlst.cxx
@@ -398,7 +398,7 @@ void ScTpUserLists::CopyListFromArea( const ScRefAddress& rStartPos,
{
if ( pDoc->HasStringData( col, row, nTab ) )
{
- pDoc->GetString( col, row, nTab, aStrField );
+ aStrField = pDoc->GetString(col, row, nTab);
if ( aStrField.Len() > 0 )
{
@@ -422,7 +422,7 @@ void ScTpUserLists::CopyListFromArea( const ScRefAddress& rStartPos,
{
if ( pDoc->HasStringData( col, row, nTab ) )
{
- pDoc->GetString( col, row, nTab, aStrField );
+ aStrField = pDoc->GetString(col, row, nTab);
if ( aStrField.Len() > 0 )
{