diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2018-01-01 13:51:51 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2018-02-11 15:42:54 +0100 |
commit | dbc3c4eda146fe1132fb35911a4d0656ce0e68e2 (patch) | |
tree | 89e99bf84d5ca218276027e1816bced6a4f10a99 /include | |
parent | 5cc52ae22c94c734add5e0654e7ce1dbeebebe3e (diff) |
SdrModel: provide OUString as return value
instead of modifying it through referenced parameter.
Also modify related function names to Get* instead of Take*.
Change-Id: Iac824562bb51d5388e6f56116fee01ba8b8909f4
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdmodel.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx index b30493328d24..91df6466d5be 100644 --- a/include/svx/svdmodel.hxx +++ b/include/svx/svdmodel.hxx @@ -352,10 +352,10 @@ public: // Setting both simultaneously performs a little better void SetUIUnit(FieldUnit eUnit, const Fraction& rScale); - static void TakeUnitStr(FieldUnit eUnit, OUString& rStr); - void TakeMetricStr(long nVal, OUString& rStr, bool bNoUnitChars = false, sal_Int32 nNumDigits = -1) const; - static void TakeAngleStr(long nAngle, OUString& rStr); - static void TakePercentStr(const Fraction& rVal, OUString& rStr); + static OUString GetUnitString(FieldUnit eUnit); + OUString GetMetricString(long nVal, bool bNoUnitChars = false, sal_Int32 nNumDigits = -1) const; + static OUString GetAngleString(long nAngle); + static OUString GetPercentString(const Fraction& rVal); // RecalcPageNums is ordinarily only called by the Page. bool IsPagNumsDirty() const { return bPagNumsDirty; }; |