summaryrefslogtreecommitdiff
path: root/svx/source/form/fmundo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/fmundo.cxx')
-rw-r--r--svx/source/form/fmundo.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx
index 6a50966c980b..674bcfd006e1 100644
--- a/svx/source/form/fmundo.cxx
+++ b/svx/source/form/fmundo.cxx
@@ -1021,9 +1021,9 @@ void FmUndoPropertyAction::Redo()
//------------------------------------------------------------------------------
OUString FmUndoPropertyAction::GetComment() const
{
- String aStr(static_STR_UNDO_PROPERTY);
+ OUString aStr(static_STR_UNDO_PROPERTY);
- aStr.SearchAndReplace( OUString('#'), aPropertyName );
+ aStr = aStr.replaceFirst( "#", aPropertyName );
return aStr;
}