diff options
author | Noel Grandin <noel@peralex.com> | 2013-01-10 09:37:14 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-01-18 17:19:30 +0100 |
commit | 2b31e751db38e7ba0e2ec668520f50daf5eb25d5 (patch) | |
tree | 9f93c9eed71330e8fd2e6bfb234f0da340e3aeaf /sal/inc/rtl/ustrbuf.h | |
parent | 6f6ed9c7e2212e5e7acb2c5b827e4e4f1e156ecd (diff) |
Create OUString and OString number(*) methods.
API CHANGE: Adds new methods (several overloads)
OString::number()
OUString::number()
and marks all of the existing fromValue() methods as deprecated.
The purpose of this change is to clean up call sites
by hiding the necessary casts.
The casts are necessary because of overload resolution rules which are
somewhat vague about which methods to choose when using integer types.
See mailing list discussion here:
http://nabble.documentfoundation.org/replacing-OUString-valueOf-static-cast-lt-sal-Int32-gt-td4027989.html
Subject: "replacing OUString::valueOf(static_cast<sal_Int32>) ??"
Change-Id: Id3d150a6525eb0334e41e2ec6640bb06cd790b43
Reviewed-on: https://gerrit.libreoffice.org/1625
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'sal/inc/rtl/ustrbuf.h')
0 files changed, 0 insertions, 0 deletions