summaryrefslogtreecommitdiff
path: root/stoc/source
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source')
-rw-r--r--stoc/source/uriproc/UriReference.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/uriproc/UriReference.cxx b/stoc/source/uriproc/UriReference.cxx
index a1dff888b4a0..57d950e842ba 100644
--- a/stoc/source/uriproc/UriReference.cxx
+++ b/stoc/source/uriproc/UriReference.cxx
@@ -175,7 +175,7 @@ void UriReference::setFragment(OUString const & fragment)
void UriReference::clearFragment() throw (css::uno::RuntimeException) {
osl::MutexGuard g(m_mutex);
m_hasFragment = false;
- m_fragment = OUString();
+ m_fragment.clear();
}
void UriReference::appendSchemeSpecificPart(OUStringBuffer & buffer) const