diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-04 21:30:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-05 13:59:05 +0100 |
commit | 5688b51bcb23b12b335dadf4430b7b7c4407cbfb (patch) | |
tree | b2c358d422775d0d9d312cca653c9e4e7b989ed2 /sw | |
parent | dd20a8c6e2ebeceff90567597d712e4c03c2ac7d (diff) |
UniString::CreateFromInt32 -> rtl::OUString::valueOf
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/core/swdoc-test.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/qa/core/swdoc-test.cxx b/sw/qa/core/swdoc-test.cxx index 6106da20c34f..72c5ad32e276 100644 --- a/sw/qa/core/swdoc-test.cxx +++ b/sw/qa/core/swdoc-test.cxx @@ -367,8 +367,7 @@ getRand(int modulus) static rtl::OUString getRandString() { - static rtl::OUString aText(RTL_CONSTASCII_USTRINGPARAM( - "AAAAA BBBB CCC DD E \n")); + rtl::OUString aText("AAAAA BBBB CCC DD E \n"); int s = getRand(aText.getLength()); int j = getRand(aText.getLength() - s); rtl::OUString aRet(aText.copy(s, j)); |