summaryrefslogtreecommitdiff
path: root/editeng/source/items/optitems.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/items/optitems.cxx')
-rw-r--r--editeng/source/items/optitems.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/editeng/source/items/optitems.cxx b/editeng/source/items/optitems.cxx
index 3c5133421bd6..c3f315ed2791 100644
--- a/editeng/source/items/optitems.cxx
+++ b/editeng/source/items/optitems.cxx
@@ -156,11 +156,9 @@ SfxItemPresentation SfxHyphenRegionItem::GetPresentation
case SFX_ITEM_PRESENTATION_COMPLETE:
{
rText = rText +
- OUString::number( nMinLead ) +
- EE_RESSTR( RID_SVXITEMS_HYPHEN_MINLEAD ) +
+ EE_RESSTR(RID_SVXITEMS_HYPHEN_MINLEAD).replaceAll("%1", OUString::number(nMinLead)) +
"," +
- OUString::number( nMinTrail ) +
- EE_RESSTR( RID_SVXITEMS_HYPHEN_MINTRAIL );
+ EE_RESSTR(RID_SVXITEMS_HYPHEN_MINTRAIL).replaceAll("%1", OUString::number(nMinTrail));
return ePres;
}
default: