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/undo/undodat.cxx | |
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/undo/undodat.cxx')
-rw-r--r-- | sc/source/ui/undo/undodat.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/undo/undodat.cxx b/sc/source/ui/undo/undodat.cxx index ee8105255ee1..81106e5c0550 100644 --- a/sc/source/ui/undo/undodat.cxx +++ b/sc/source/ui/undo/undodat.cxx @@ -2050,8 +2050,8 @@ void ScUndoDataForm::DoChange( const sal_Bool bUndo ) for ( sal_uInt16 i=0; i <= ( aBlockRange.aEnd.Col() - aBlockRange.aStart.Col() ); i++ ) { - String aOldString; - pUndoDoc->GetString( aBlockRange.aStart.Col()+i , aBlockRange.aStart.Row() , aBlockRange.aStart.Tab() , aOldString ); + OUString aOldString = pUndoDoc->GetString( + aBlockRange.aStart.Col()+i, aBlockRange.aStart.Row(), aBlockRange.aStart.Tab()); pDoc->SetString( aBlockRange.aStart.Col()+i , aBlockRange.aStart.Row() , aBlockRange.aStart.Tab() , aOldString ); } |