summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdedxv.cxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2018-01-06 17:41:42 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2018-02-11 15:42:54 +0100
commitd0216f56862d2c8d35a8a174262f3e5a1dc58d45 (patch)
tree0d8dbb328678232fb06da0c5090fb9f0072ea9aa /svx/source/svdraw/svdedxv.cxx
parentdbc3c4eda146fe1132fb35911a4d0656ce0e68e2 (diff)
SdrMarkView: provide OUString as return value
Change-Id: I2d45f4ada683da4f69df6d81a072d2f3ba813dae
Diffstat (limited to 'svx/source/svdraw/svdedxv.cxx')
-rw-r--r--svx/source/svdraw/svdedxv.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index 29d54d576e4f..f239c5cb5b8b 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -2096,9 +2096,7 @@ bool SdrObjEditView::SetAttributes(const SfxItemSet& rSet, bool bReplaceAll)
if( bUndo )
{
- OUString aStr;
- ImpTakeDescriptionStr(STR_EditSetAttributes,aStr);
- BegUndo(aStr);
+ BegUndo(ImpGetDescriptionString(STR_EditSetAttributes));
AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*mxTextEditObj.get()));
// If this is a text object also rescue the OutlinerParaObject since
@@ -2143,9 +2141,7 @@ bool SdrObjEditView::SetAttributes(const SfxItemSet& rSet, bool bReplaceAll)
{
if( IsUndoEnabled() )
{
- OUString aStr;
- ImpTakeDescriptionStr(STR_EditSetAttributes,aStr);
- BegUndo(aStr);
+ BegUndo(ImpGetDescriptionString(STR_EditSetAttributes));
AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*mxTextEditObj.get()));
AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoAttrObject(*mxTextEditObj.get()));
EndUndo();