summaryrefslogtreecommitdiff
path: root/sal/CppunitTest_sal_rtl_strings.mk
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-01-10 09:37:14 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-01-18 17:19:30 +0100
commit2b31e751db38e7ba0e2ec668520f50daf5eb25d5 (patch)
tree9f93c9eed71330e8fd2e6bfb234f0da340e3aeaf /sal/CppunitTest_sal_rtl_strings.mk
parent6f6ed9c7e2212e5e7acb2c5b827e4e4f1e156ecd (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/CppunitTest_sal_rtl_strings.mk')
-rw-r--r--sal/CppunitTest_sal_rtl_strings.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sal/CppunitTest_sal_rtl_strings.mk b/sal/CppunitTest_sal_rtl_strings.mk
index a30bf70d30eb..222cedf17f49 100644
--- a/sal/CppunitTest_sal_rtl_strings.mk
+++ b/sal/CppunitTest_sal_rtl_strings.mk
@@ -38,6 +38,7 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sal_rtl_strings,\
sal/qa/rtl/strings/test_oustring_noadditional \
sal/qa/rtl/strings/test_oustring_startswith \
sal/qa/rtl/strings/test_oustring_stringliterals \
+ sal/qa/rtl/strings/test_strings_valuex \
))
$(eval $(call gb_CppunitTest_use_libraries,sal_rtl_strings,\