diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-24 12:26:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-30 08:43:41 +0200 |
commit | 1417061d1b2c110e7e690523a544b58e7ffd05c0 (patch) | |
tree | 11822ac4180dbaa97946d790f21ae2d549e2e24e /stoc/source/uriproc | |
parent | 4c73963171b1a7a837e4bfc75ae4e0303af7d117 (diff) |
stoc: sal_Bool->bool
Change-Id: Id5aaa3ddfe2cfacbe1bddcdeccb9e775ad84d858
Diffstat (limited to 'stoc/source/uriproc')
-rw-r--r-- | stoc/source/uriproc/UriReference.cxx | 12 | ||||
-rw-r--r-- | stoc/source/uriproc/UriReference.hxx | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/stoc/source/uriproc/UriReference.cxx b/stoc/source/uriproc/UriReference.cxx index a671aee07de3..be6cbe826c2a 100644 --- a/stoc/source/uriproc/UriReference.cxx +++ b/stoc/source/uriproc/UriReference.cxx @@ -67,7 +67,7 @@ OUString UriReference::getUriReference() throw (css::uno::RuntimeException) return buf.makeStringAndClear(); } -sal_Bool UriReference::isAbsolute() throw (css::uno::RuntimeException) { +bool UriReference::isAbsolute() throw (css::uno::RuntimeException) { return !m_scheme.isEmpty(); } @@ -84,12 +84,12 @@ OUString UriReference::getSchemeSpecificPart() return buf.makeStringAndClear(); } -sal_Bool UriReference::isHierarchical() throw (css::uno::RuntimeException) { +bool UriReference::isHierarchical() throw (css::uno::RuntimeException) { osl::MutexGuard g(m_mutex); return m_isHierarchical; } -sal_Bool UriReference::hasAuthority() throw (css::uno::RuntimeException) { +bool UriReference::hasAuthority() throw (css::uno::RuntimeException) { osl::MutexGuard g(m_mutex); return m_hasAuthority; } @@ -104,7 +104,7 @@ OUString UriReference::getPath() throw (css::uno::RuntimeException) { return m_path; } -sal_Bool UriReference::hasRelativePath() throw (css::uno::RuntimeException) { +bool UriReference::hasRelativePath() throw (css::uno::RuntimeException) { osl::MutexGuard g(m_mutex); return m_isHierarchical && !m_hasAuthority && (m_path.isEmpty() || m_path[0] != '/'); @@ -147,7 +147,7 @@ OUString UriReference::getPathSegment(sal_Int32 index) return OUString(); } -sal_Bool UriReference::hasQuery() throw (css::uno::RuntimeException) { +bool UriReference::hasQuery() throw (css::uno::RuntimeException) { osl::MutexGuard g(m_mutex); return m_hasQuery; } @@ -157,7 +157,7 @@ OUString UriReference::getQuery() throw (css::uno::RuntimeException) { return m_query; } -sal_Bool UriReference::hasFragment() throw (css::uno::RuntimeException) { +bool UriReference::hasFragment() throw (css::uno::RuntimeException) { osl::MutexGuard g(m_mutex); return m_hasFragment; } diff --git a/stoc/source/uriproc/UriReference.hxx b/stoc/source/uriproc/UriReference.hxx index f6037a2325ea..1c48aebd17ab 100644 --- a/stoc/source/uriproc/UriReference.hxx +++ b/stoc/source/uriproc/UriReference.hxx @@ -40,22 +40,22 @@ public: OUString getUriReference() throw (com::sun::star::uno::RuntimeException); - sal_Bool isAbsolute() throw (com::sun::star::uno::RuntimeException); + bool isAbsolute() throw (com::sun::star::uno::RuntimeException); OUString getScheme() throw (com::sun::star::uno::RuntimeException); OUString getSchemeSpecificPart() throw (com::sun::star::uno::RuntimeException); - sal_Bool isHierarchical() throw (com::sun::star::uno::RuntimeException); + bool isHierarchical() throw (com::sun::star::uno::RuntimeException); - sal_Bool hasAuthority() throw (com::sun::star::uno::RuntimeException); + bool hasAuthority() throw (com::sun::star::uno::RuntimeException); OUString getAuthority() throw (com::sun::star::uno::RuntimeException); OUString getPath() throw (com::sun::star::uno::RuntimeException); - sal_Bool hasRelativePath() throw (com::sun::star::uno::RuntimeException); + bool hasRelativePath() throw (com::sun::star::uno::RuntimeException); sal_Int32 getPathSegmentCount() throw (com::sun::star::uno::RuntimeException); @@ -63,11 +63,11 @@ public: OUString getPathSegment(sal_Int32 index) throw (com::sun::star::uno::RuntimeException); - sal_Bool hasQuery() throw (com::sun::star::uno::RuntimeException); + bool hasQuery() throw (com::sun::star::uno::RuntimeException); OUString getQuery() throw (com::sun::star::uno::RuntimeException); - sal_Bool hasFragment() throw (com::sun::star::uno::RuntimeException); + bool hasFragment() throw (com::sun::star::uno::RuntimeException); OUString getFragment() throw (com::sun::star::uno::RuntimeException); |