summaryrefslogtreecommitdiff
path: root/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-04-07 12:06:47 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-04-07 14:23:11 +0200
commit1946794ae09ba732022fe6a74ea45e304ab70b84 (patch)
treee32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
parent5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff)
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx')
-rw-r--r--stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx62
1 files changed, 31 insertions, 31 deletions
diff --git a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
index ffeb1dbde867..d8545d692a0c 100644
--- a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
+++ b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
@@ -48,7 +48,7 @@
namespace {
-bool parseSchemeSpecificPart(::rtl::OUString const & part) {
+bool parseSchemeSpecificPart(OUString const & part) {
// Liberally accepts both an empty opaque_part and an opaque_part that
// starts with a non-escaped "/":
return part.isEmpty()
@@ -59,24 +59,24 @@ class UrlReference:
public ::cppu::WeakImplHelper1< css::uri::XVndSunStarExpandUrlReference >
{
public:
- UrlReference(::rtl::OUString const & scheme, ::rtl::OUString const & path):
+ UrlReference(OUString const & scheme, OUString const & path):
base_(
- scheme, false, false, ::rtl::OUString(), path, false,
- ::rtl::OUString())
+ scheme, false, false, OUString(), path, false,
+ OUString())
{}
- virtual ::rtl::OUString SAL_CALL getUriReference()
+ virtual OUString SAL_CALL getUriReference()
throw (css::uno::RuntimeException)
{ return base_.getUriReference(); }
virtual ::sal_Bool SAL_CALL isAbsolute() throw (css::uno::RuntimeException)
{ return base_.isAbsolute(); }
- virtual ::rtl::OUString SAL_CALL getScheme()
+ virtual OUString SAL_CALL getScheme()
throw (css::uno::RuntimeException)
{ return base_.getScheme(); }
- virtual ::rtl::OUString SAL_CALL getSchemeSpecificPart()
+ virtual OUString SAL_CALL getSchemeSpecificPart()
throw (css::uno::RuntimeException)
{ return base_.getSchemeSpecificPart(); }
@@ -88,11 +88,11 @@ public:
throw (css::uno::RuntimeException)
{ return base_.hasAuthority(); }
- virtual ::rtl::OUString SAL_CALL getAuthority()
+ virtual OUString SAL_CALL getAuthority()
throw (css::uno::RuntimeException)
{ return base_.getAuthority(); }
- virtual ::rtl::OUString SAL_CALL getPath()
+ virtual OUString SAL_CALL getPath()
throw (css::uno::RuntimeException)
{ return base_.getPath(); }
@@ -104,32 +104,32 @@ public:
throw (css::uno::RuntimeException)
{ return base_.getPathSegmentCount(); }
- virtual ::rtl::OUString SAL_CALL getPathSegment(sal_Int32 index)
+ virtual OUString SAL_CALL getPathSegment(sal_Int32 index)
throw (css::uno::RuntimeException)
{ return base_.getPathSegment(index); }
virtual ::sal_Bool SAL_CALL hasQuery() throw (css::uno::RuntimeException)
{ return base_.hasQuery(); }
- virtual ::rtl::OUString SAL_CALL getQuery()
+ virtual OUString SAL_CALL getQuery()
throw (css::uno::RuntimeException)
{ return base_.getQuery(); }
virtual ::sal_Bool SAL_CALL hasFragment() throw (css::uno::RuntimeException)
{ return base_.hasFragment(); }
- virtual ::rtl::OUString SAL_CALL getFragment()
+ virtual OUString SAL_CALL getFragment()
throw (css::uno::RuntimeException)
{ return base_.getFragment(); }
- virtual void SAL_CALL setFragment(::rtl::OUString const & fragment)
+ virtual void SAL_CALL setFragment(OUString const & fragment)
throw (css::uno::RuntimeException)
{ base_.setFragment(fragment); }
virtual void SAL_CALL clearFragment() throw (css::uno::RuntimeException)
{ base_.clearFragment(); }
- virtual ::rtl::OUString SAL_CALL expand(
+ virtual OUString SAL_CALL expand(
css::uno::Reference< css::util::XMacroExpander > const & expander)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
@@ -142,7 +142,7 @@ private:
stoc::uriproc::UriReference base_;
};
-::rtl::OUString UrlReference::expand(
+OUString UrlReference::expand(
css::uno::Reference< css::util::XMacroExpander > const & expander)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException)
{
@@ -158,20 +158,20 @@ class Parser: public ::cppu::WeakImplHelper2<
public:
Parser() {}
- virtual ::rtl::OUString SAL_CALL getImplementationName()
+ virtual OUString SAL_CALL getImplementationName()
throw (css::uno::RuntimeException);
virtual ::sal_Bool SAL_CALL supportsService(
- ::rtl::OUString const & serviceName)
+ OUString const & serviceName)
throw (css::uno::RuntimeException);
- virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL
+ virtual css::uno::Sequence< OUString > SAL_CALL
getSupportedServiceNames() throw (css::uno::RuntimeException);
virtual css::uno::Reference< css::uri::XUriReference > SAL_CALL
parse(
- ::rtl::OUString const & scheme,
- ::rtl::OUString const & schemeSpecificPart)
+ OUString const & scheme,
+ OUString const & schemeSpecificPart)
throw (css::uno::RuntimeException);
private:
@@ -181,21 +181,21 @@ private:
virtual ~Parser() {}
};
-::rtl::OUString Parser::getImplementationName()
+OUString Parser::getImplementationName()
throw (css::uno::RuntimeException)
{
return ::stoc_services::UriSchemeParser_vndDOTsunDOTstarDOTexpand::
getImplementationName();
}
-::sal_Bool Parser::supportsService(::rtl::OUString const & serviceName)
+::sal_Bool Parser::supportsService(OUString const & serviceName)
throw (css::uno::RuntimeException)
{
return ::stoc::uriproc::supportsService(
getSupportedServiceNames(), serviceName);
}
-css::uno::Sequence< ::rtl::OUString > Parser::getSupportedServiceNames()
+css::uno::Sequence< OUString > Parser::getSupportedServiceNames()
throw (css::uno::RuntimeException)
{
return ::stoc_services::UriSchemeParser_vndDOTsunDOTstarDOTexpand::
@@ -203,7 +203,7 @@ css::uno::Sequence< ::rtl::OUString > Parser::getSupportedServiceNames()
}
css::uno::Reference< css::uri::XUriReference > Parser::parse(
- ::rtl::OUString const & scheme, ::rtl::OUString const & schemeSpecificPart)
+ OUString const & scheme, OUString const & schemeSpecificPart)
throw (css::uno::RuntimeException)
{
if (!parseSchemeSpecificPart(schemeSpecificPart)) {
@@ -213,7 +213,7 @@ css::uno::Reference< css::uri::XUriReference > Parser::parse(
return new UrlReference(scheme, schemeSpecificPart);
} catch (::std::bad_alloc &) {
throw css::uno::RuntimeException(
- ::rtl::OUString("std::bad_alloc"),
+ OUString("std::bad_alloc"),
css::uno::Reference< css::uno::XInterface >());
}
}
@@ -232,19 +232,19 @@ css::uno::Reference< css::uno::XInterface > create(
return static_cast< ::cppu::OWeakObject * >(new Parser);
} catch (::std::bad_alloc &) {
throw css::uno::RuntimeException(
- ::rtl::OUString("std::bad_alloc"),
+ OUString("std::bad_alloc"),
css::uno::Reference< css::uno::XInterface >());
}
}
-::rtl::OUString getImplementationName() {
- return ::rtl::OUString(
+OUString getImplementationName() {
+ return OUString(
"com.sun.star.comp.uri.UriSchemeParser_vndDOTsunDOTstarDOTexpand");
}
-css::uno::Sequence< ::rtl::OUString > getSupportedServiceNames() {
- css::uno::Sequence< ::rtl::OUString > s(1);
- s[0] = ::rtl::OUString(
+css::uno::Sequence< OUString > getSupportedServiceNames() {
+ css::uno::Sequence< OUString > s(1);
+ s[0] = OUString(
"com.sun.star.uri.UriSchemeParser_vndDOTsunDOTstarDOTexpand");
return s;
}