diff options
Diffstat (limited to 'svx/source/svdraw/svdocirc.cxx')
-rw-r--r-- | svx/source/svdraw/svdocirc.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/svx/source/svdraw/svdocirc.cxx b/svx/source/svdraw/svdocirc.cxx index 29a5e54fb336..c104a33ae21a 100644 --- a/svx/source/svdraw/svdocirc.cxx +++ b/svx/source/svdraw/svdocirc.cxx @@ -594,9 +594,7 @@ OUString SdrCircObj::getSpecialDragComment(const SdrDragStat& rDrag) const if(bCreateComment) { - OUString aStr; - ImpTakeDescriptionStr(STR_ViewCreateObj, aStr); - OUStringBuffer aBuf(aStr); + OUStringBuffer aBuf(ImpGetDescriptionStr(STR_ViewCreateObj)); const sal_uInt32 nPointCount(rDrag.GetPointCount()); if(SdrCircKind::Full != meCircleKind && nPointCount > 2) @@ -629,9 +627,7 @@ OUString SdrCircObj::getSpecialDragComment(const SdrDragStat& rDrag) const { const sal_Int32 nAngle(1 == rDrag.GetHdl()->GetPointNum() ? nStartAngle : nEndAngle); - OUString aStr; - ImpTakeDescriptionStr(STR_DragCircAngle, aStr); - OUStringBuffer aBuf(aStr); + OUStringBuffer aBuf(ImpGetDescriptionStr(STR_DragCircAngle)); aBuf.append(" ("); aBuf.append(SdrModel::GetAngleString(nAngle)); aBuf.append(')'); |