summaryrefslogtreecommitdiff
path: root/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-12 17:01:19 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-12 19:15:08 -0200
commit71dc235aba9597c3485a791a319a34e4258138db (patch)
tree7a6e5ab99469ee3fd292c435198cb62c58950394 /stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
parent14359c82eb91b69212cbf0f743e819776a8f6d3a (diff)
Fix for fdo43460 Part XXXV getLength() to isEmpty()
Part XXXV Modules stoc
Diffstat (limited to 'stoc/source/uriproc/ExternalUriReferenceTranslator.cxx')
-rw-r--r--stoc/source/uriproc/ExternalUriReferenceTranslator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
index fac7745b9a39..a9a7e0e1f3fc 100644
--- a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
+++ b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
@@ -146,7 +146,7 @@ rtl::OUString Translator::translateToInternal(
rtl_UriDecodeStrict, encoding),
rtl_UriCharClassPchar, rtl_UriEncodeStrict,
RTL_TEXTENCODING_UTF8));
- if (seg.getLength() == 0) {
+ if (seg.isEmpty()) {
return rtl::OUString();
}
buf.append(seg);
@@ -193,7 +193,7 @@ rtl::OUString Translator::translateToExternal(
rtl_UriDecodeToIuri, RTL_TEXTENCODING_UTF8),
rtl_UriCharClassPchar, rtl_UriEncodeStrictKeepEscapes,
encoding));
- if (seg.getLength() == 0) {
+ if (seg.isEmpty()) {
return rtl::OUString();
}
buf.append(seg);