summaryrefslogtreecommitdiffstats
path: root/stoc/source/uriproc/UriReferenceFactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/uriproc/UriReferenceFactory.cxx')
-rw-r--r--stoc/source/uriproc/UriReferenceFactory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/uriproc/UriReferenceFactory.cxx b/stoc/source/uriproc/UriReferenceFactory.cxx
index faaa0937f080..a354356049b9 100644
--- a/stoc/source/uriproc/UriReferenceFactory.cxx
+++ b/stoc/source/uriproc/UriReferenceFactory.cxx
@@ -282,12 +282,12 @@ void processSegments(
for (sal_Int32 i = 0; i < count; ++i) {
if (processSpecialSegments) {
rtl::OUString segment(uriReference->getPathSegment(i));
- if (segment.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("."))) {
+ if ( segment == "." ) {
if (!base && i == count - 1) {
segments.push_back(0);
}
continue;
- } else if (segment.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(".."))) {
+ } else if ( segment == ".." ) {
if (segments.empty()
|| /*MSVC trouble: std::*/abs(segments.back()) == 1)
{