Resolves: fdo#84757 1~ instead of ~1 and 10~ instead of 1~0

regression from 3351ebde48a31173c2fea9f7270224017e1f4412
Date:   Sat Mar 29 22:22:42 2014 +0100
    OUString: remove temporaries and repeated expressions

but understandable as it was unreadable goo originally

(cherry picked from commit 4289c346de432cc94f05aab78a9464350334b11f)

Change-Id: I3ce161bd2628f3a49b14df886ee8d684b248db1c
Reviewed-on: https://gerrit.libreoffice.org/11847
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>