From d0216f56862d2c8d35a8a174262f3e5a1dc58d45 Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Sat, 6 Jan 2018 17:41:42 +0100 Subject: SdrMarkView: provide OUString as return value Change-Id: I2d45f4ada683da4f69df6d81a072d2f3ba813dae --- svx/source/svdraw/svdedtv1.cxx | 71 ++++++++++++++++++++++-------------------- 1 file changed, 38 insertions(+), 33 deletions(-) (limited to 'svx/source/svdraw/svdedtv1.cxx') diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx index ab5389aacf13..d2469a703c67 100644 --- a/svx/source/svdraw/svdedtv1.cxx +++ b/svx/source/svdraw/svdedtv1.cxx @@ -83,12 +83,10 @@ void SdrEditView::SetMarkedObjRect(const tools::Rectangle& rRect) long y1=rRect.Top(); long w1=rRect.Right()-x1; long h1=rRect.Bottom()-y1; - OUString aStr; - ImpTakeDescriptionStr(STR_EditPosSize,aStr); const bool bUndo = IsUndoEnabled(); if( bUndo ) - BegUndo(aStr); + BegUndo(ImpGetDescriptionString(STR_EditPosSize)); for (size_t nm=0; nm