summaryrefslogtreecommitdiff
path: root/sal/inc/rtl/ustring.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-02-14 11:21:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-02-14 11:21:21 +0000
commit2334bdc0e61e87e6fcda036b81360cfd81e4deab (patch)
tree129152940f91e431b422e0b121f0b50a7f5dc5ac /sal/inc/rtl/ustring.hxx
parentf3ca6f1b5af9a0016f552cc24ab901fd13185877 (diff)
move this into comphelper
Diffstat (limited to 'sal/inc/rtl/ustring.hxx')
-rw-r--r--sal/inc/rtl/ustring.hxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/sal/inc/rtl/ustring.hxx b/sal/inc/rtl/ustring.hxx
index 76bbe2668b6c..b56413d8bfbe 100644
--- a/sal/inc/rtl/ustring.hxx
+++ b/sal/inc/rtl/ustring.hxx
@@ -330,28 +330,6 @@ public:
}
/**
- Compares two strings using natural order.
-
- For non digit characters, the comparison use the same algorithm as
- rtl_str_compare. When a number is encountered during the comparison,
- natural order is used. Thus, Heading 10 will be considered as greater
- than Heading 2. Numerical comparison is done using decimal representation.
-
- Beware that "MyString 001" and "MyString 1" will be considered as equal
- since leading 0 are meaningless.
-
- @param str the object to be compared.
- @return 0 - if both strings are equal
- < 0 - if this string is less than the string argument
- > 0 - if this string is greater than the string argument
- */
- sal_Int32 compareToNumeric( const OUString & str ) const SAL_THROW(())
- {
- return rtl_ustr_compare_Numeric( pData->buffer,
- str.pData->buffer );
- }
-
- /**
Compares two strings with an maximum count of characters.
The comparison is based on the numeric value of each character in