diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-09 17:09:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-10 08:14:05 +0200 |
commit | f26a5f32dc11cd8b4a72ef1519b8f38ec80e126c (patch) | |
tree | b6db4485ad3b60ca148902a68e2fc7b104329a6a /include | |
parent | 1ce0a72094fd09b4506a2380ff7787ac03c6e534 (diff) |
rename TakeUnitStr to GetUnitStr
and return a value instead of an awkward out-parameter
Change-Id: Ia78bf0188dd9ca1078230ed7cd020ab77d05757e
Reviewed-on: https://gerrit.libreoffice.org/80555
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdtrans.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/svx/svdtrans.hxx b/include/svx/svdtrans.hxx index 804c57a7a7de..a85edab7ef4a 100644 --- a/include/svx/svdtrans.hxx +++ b/include/svx/svdtrans.hxx @@ -292,9 +292,8 @@ public: { } OUString GetStr(long nVal) const; - static void TakeUnitStr(MapUnit eUnit, OUString& rStr); - static void TakeUnitStr(FieldUnit eUnit, OUString& rStr); - static OUString GetUnitStr(FieldUnit eUnit) { OUString aStr; TakeUnitStr(eUnit,aStr); return aStr; } + static OUString GetUnitStr(MapUnit eUnit); + static OUString GetUnitStr(FieldUnit eUnit); }; |