diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-09 16:29:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-09 20:48:53 +0200 |
commit | 894c91c73973ec519f7d0035dfc05c9ad1b68fa4 (patch) | |
tree | ab9a0529c093adb8e77ceeb0fe7bd80d49174639 /svx/source/svdraw/svdotxdr.cxx | |
parent | 5e68f0e2a13cc21f95a875cf694e926e01642050 (diff) |
rename ImpTakeDescriptionStr -> ImpGetDescriptionStr
and make it return the result, rather than doing it via an awkward
out-parameter
Change-Id: Ia47c66b4f1bae781a679f2f4311e321fdc947928
Reviewed-on: https://gerrit.libreoffice.org/80547
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdotxdr.cxx')
-rw-r--r-- | svx/source/svdraw/svdotxdr.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdotxdr.cxx b/svx/source/svdraw/svdotxdr.cxx index a5aae5432817..b340340a1a3c 100644 --- a/svx/source/svdraw/svdotxdr.cxx +++ b/svx/source/svdraw/svdotxdr.cxx @@ -173,9 +173,7 @@ bool SdrTextObj::applySpecialDrag(SdrDragStat& rDrag) OUString SdrTextObj::getSpecialDragComment(const SdrDragStat& /*rDrag*/) const { - OUString aStr; - ImpTakeDescriptionStr(STR_DragRectResize,aStr); - return aStr; + return ImpGetDescriptionStr(STR_DragRectResize); } |