summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-05-15 09:03:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-05-15 12:05:47 +0100
commit9b71aa0de186d534f4dc79b587f0cd6d8e17e590 (patch)
tree51e5e389120cab2f6e170a7d6aedded1558c351f /sd
parentReplace extra XFormulaTokens call with direct ScDocument (diff)
downloadcore-9b71aa0de186d534f4dc79b587f0cd6d8e17e590.tar.gz
core-9b71aa0de186d534f4dc79b587f0cd6d8e17e590.zip
convert GetUndoActionComment family to rtl::OUString
Change-Id: I36ccf62ee2e2769bcf1aef6d26d96bce6c7078f0
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/viewshel.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index fdbead996f26..bcc2f2adbee4 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -1062,9 +1062,8 @@ void ViewShell::ImpGetUndoStrings(SfxItemSet &rSet) const
{
// prepare list
::std::vector< String > aStringList;
- sal_uInt16 a;
- for( a = 0; a < nCount; a++)
+ for (sal_uInt16 a = 0; a < nCount; ++a)
{
// generate one String in list per undo step
aStringList.push_back( String(pUndoManager->GetUndoActionComment(a)) );