diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-01-30 01:19:15 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-01-30 01:20:34 -0500 |
commit | 8a39c27633e75819e219bc5d179375fb4308a3ca (patch) | |
tree | af686f911cb9bf2637c7d969f942828323d67032 /sc/source/ui/optdlg | |
parent | ef6761fd95b52fc5f444dd076478300fa448ee0d (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.cxx | 4 |
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 ) { |