diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-22 08:43:59 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-22 12:50:47 +0200 |
commit | b2d99944c55acbdd4204db37079cde476d6388be (patch) | |
tree | 71016a086144c4598dde818ce430c2d2933972fd /stoc/source/corereflection/crenum.cxx | |
parent | 71e36bbc35dbb7bf3611aa3763d477d05e57e68f (diff) |
stoc: remove using namespace from headers
Change-Id: I1bee29ddcef66cb38ef2619507ad66c886f6f20d
Diffstat (limited to 'stoc/source/corereflection/crenum.cxx')
-rw-r--r-- | stoc/source/corereflection/crenum.cxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/stoc/source/corereflection/crenum.cxx b/stoc/source/corereflection/crenum.cxx index 40f5d0fcf797..df3666e5eb4d 100644 --- a/stoc/source/corereflection/crenum.cxx +++ b/stoc/source/corereflection/crenum.cxx @@ -17,9 +17,12 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include "base.hxx" +using namespace css::lang; +using namespace css::reflection; +using namespace css::uno; + namespace stoc_corefl { @@ -90,13 +93,13 @@ void IdlEnumFieldImpl::release() throw() Sequence< Type > IdlEnumFieldImpl::getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) { - static OTypeCollection * s_pTypes = 0; + static ::cppu::OTypeCollection * s_pTypes = 0; if (! s_pTypes) { - MutexGuard aGuard( getMutexAccess() ); + ::osl::MutexGuard aGuard( getMutexAccess() ); if (! s_pTypes) { - static OTypeCollection s_aTypes( + static ::cppu::OTypeCollection s_aTypes( ::getCppuType( (const Reference< XIdlField2 > *)0 ), ::getCppuType( (const Reference< XIdlField > *)0 ), IdlMemberImpl::getTypes() ); @@ -193,7 +196,7 @@ Sequence< Reference< XIdlField > > EnumIdlClassImpl::getFields() { if (! _pFields) { - MutexGuard aGuard( getMutexAccess() ); + ::osl::MutexGuard aGuard( getMutexAccess() ); if (! _pFields) { sal_Int32 nFields = getTypeDescr()->nEnumValues; |