summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/corereflection')
-rw-r--r--stoc/source/corereflection/base.hxx3
-rw-r--r--stoc/source/corereflection/crefl.cxx3
-rw-r--r--stoc/source/corereflection/criface.cxx4
-rw-r--r--stoc/source/corereflection/lrucache.hxx8
4 files changed, 7 insertions, 11 deletions
diff --git a/stoc/source/corereflection/base.hxx b/stoc/source/corereflection/base.hxx
index a8f45329993b..6bb8b11d9bca 100644
--- a/stoc/source/corereflection/base.hxx
+++ b/stoc/source/corereflection/base.hxx
@@ -26,6 +26,7 @@
#include <cppuhelper/factory.hxx>
#include <cppuhelper/component.hxx>
#include <cppuhelper/typeprovider.hxx>
+#include <rtl/ustring.hxx>
#include "lrucache.hxx"
@@ -52,8 +53,6 @@ using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
using namespace com::sun::star::reflection;
using namespace com::sun::star::container;
-using ::rtl::OUString;
-
namespace stoc_corefl
{
diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx
index 5015c69659fa..edec3880ec2e 100644
--- a/stoc/source/corereflection/crefl.cxx
+++ b/stoc/source/corereflection/crefl.cxx
@@ -31,9 +31,6 @@ using namespace com::sun::star::registry;
using namespace cppu;
using namespace osl;
-using ::rtl::OUString;
-using ::rtl::OUStringToOString;
-using ::rtl::OString;
#include "base.hxx"
diff --git a/stoc/source/corereflection/criface.cxx b/stoc/source/corereflection/criface.cxx
index 12d6a6bd2b25..d199c9361cef 100644
--- a/stoc/source/corereflection/criface.cxx
+++ b/stoc/source/corereflection/criface.cxx
@@ -146,7 +146,7 @@ Reference< XIdlClass > IdlAttributeFieldImpl::getDeclaringClass()
MutexGuard aGuard( getMutexAccess() );
if (! _xDeclClass.is())
{
- rtl::OUString aName(getAttributeTypeDescr()->aBase.aBase.pTypeName);
+ OUString aName(getAttributeTypeDescr()->aBase.aBase.pTypeName);
sal_Int32 i = aName.indexOf(':');
OSL_ASSERT(i >= 0);
_xDeclClass = getReflection()->forName(aName.copy(0, i));
@@ -451,7 +451,7 @@ Reference< XIdlClass > IdlInterfaceMethodImpl::getDeclaringClass()
MutexGuard aGuard( getMutexAccess() );
if (! _xDeclClass.is())
{
- rtl::OUString aName(getMethodTypeDescr()->aBase.aBase.pTypeName);
+ OUString aName(getMethodTypeDescr()->aBase.aBase.pTypeName);
sal_Int32 i = aName.indexOf(':');
OSL_ASSERT(i >= 0);
_xDeclClass = getReflection()->forName(aName.copy(0, i));
diff --git a/stoc/source/corereflection/lrucache.hxx b/stoc/source/corereflection/lrucache.hxx
index 991fa26d5d4c..1d21df16e630 100644
--- a/stoc/source/corereflection/lrucache.hxx
+++ b/stoc/source/corereflection/lrucache.hxx
@@ -221,16 +221,16 @@ inline void LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::clear()
}
//==================================================================================================
-struct FctHashOUString : public ::std::unary_function< const ::rtl::OUString &, size_t >
+struct FctHashOUString : public ::std::unary_function< const OUString &, size_t >
{
- size_t operator()( const ::rtl::OUString & rKey ) const
+ size_t operator()( const OUString & rKey ) const
{ return rKey.hashCode(); }
};
/** Template instance for OUString keys, Any values.<br>
*/
-typedef LRU_Cache< ::rtl::OUString, ::com::sun::star::uno::Any,
- FctHashOUString, ::std::equal_to< ::rtl::OUString > >
+typedef LRU_Cache< OUString, ::com::sun::star::uno::Any,
+ FctHashOUString, ::std::equal_to< OUString > >
LRU_CacheAnyByOUString;