summaryrefslogtreecommitdiff
path: root/sc/source/ui/app
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/app
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/app')
-rw-r--r--sc/source/ui/app/transobj.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/app/transobj.cxx b/sc/source/ui/app/transobj.cxx
index e8a96c51cf74..103f64f8f281 100644
--- a/sc/source/ui/app/transobj.cxx
+++ b/sc/source/ui/app/transobj.cxx
@@ -276,8 +276,7 @@ sal_Bool ScTransferObj::GetData( const datatransfer::DataFlavor& rFlavor )
}
else
{
- String aText;
- pDoc->GetString( nCol, nRow, nTab, aText );
+ OUString aText = pDoc->GetString(nCol, nRow, nTab);
aEngine.SetText(aText);
}
}