summaryrefslogtreecommitdiff
path: root/cli_ure/source
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-12 19:49:06 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-12 19:52:28 +0200
commitacc04202e8b1e69381355eaae5ba456bee6fd9c9 (patch)
tree631f705342be5dfd14869a8cf2fb346b4176f407 /cli_ure/source
parentef69c15bb98683ca6a70ad2f0b92fec54f7a23e0 (diff)
use css prefix consistently
Change-Id: Ia2f827381ec768a7867918d61d7afb2f68457832
Diffstat (limited to 'cli_ure/source')
-rw-r--r--cli_ure/source/climaker/climaker_share.h2
-rw-r--r--cli_ure/source/native/native_share.h20
-rw-r--r--cli_ure/source/uno_bridge/cli_proxy.cxx8
-rw-r--r--cli_ure/source/uno_bridge/cli_proxy.h2
4 files changed, 16 insertions, 16 deletions
diff --git a/cli_ure/source/climaker/climaker_share.h b/cli_ure/source/climaker/climaker_share.h
index 700321af3ea0..aa4648cee84c 100644
--- a/cli_ure/source/climaker/climaker_share.h
+++ b/cli_ure/source/climaker/climaker_share.h
@@ -130,7 +130,7 @@ ref class TypeEmitter : public ::System::IDisposable
css::reflection::XCompoundTypeDescription > >& seq_exceptionsTd );
/* Creates ::System::Type object for UNO exceptions. The UNO exceptions are
obtained by
- com::sun::star::reflection::XServiceConstructorDescription::getExceptions
+ css::reflection::XServiceConstructorDescription::getExceptions
In a first step the respective CLI types are created. Then it is examined
if a Type represents a super class of another class. If so the Type of the
derived class is discarded. For example there are a uno RuntimeException and
diff --git a/cli_ure/source/native/native_share.h b/cli_ure/source/native/native_share.h
index f8a22ef7a7a6..7e1966e0a0d9 100644
--- a/cli_ure/source/native/native_share.h
+++ b/cli_ure/source/native/native_share.h
@@ -47,17 +47,17 @@ inline OUString String_to_ustring( ::System::String ^ str )
template< typename T >
inline ::System::Object ^ to_cli(
- ::com::sun::star::uno::Reference< T > const & x )
+ css::uno::Reference< T > const & x )
{
- ::com::sun::star::uno::Mapping mapping(
+ css::uno::Mapping mapping(
CPPU_CURRENT_LANGUAGE_BINDING_NAME, UNO_LB_CLI );
OSL_ASSERT( mapping.is() );
if (! mapping.is())
{
- throw ::com::sun::star::uno::RuntimeException(
+ throw css::uno::RuntimeException(
"cannot get mapping from C++ to CLI!",
- ::com::sun::star::uno::Reference<
- ::com::sun::star::uno::XInterface >() );
+ css::uno::Reference<
+ css::uno::XInterface >() );
}
intptr_t intptr =
@@ -71,17 +71,17 @@ inline ::System::Object ^ to_cli(
template< typename T >
inline void to_uno(
- ::com::sun::star::uno::Reference< T > * pRet, ::System::Object ^ x )
+ css::uno::Reference< T > * pRet, ::System::Object ^ x )
{
- ::com::sun::star::uno::Mapping mapping(
+ css::uno::Mapping mapping(
UNO_LB_CLI, CPPU_CURRENT_LANGUAGE_BINDING_NAME );
OSL_ASSERT( mapping.is() );
if (! mapping.is())
{
- throw ::com::sun::star::uno::RuntimeException(
+ throw css::uno::RuntimeException(
"cannot get mapping from CLI to C++!",
- ::com::sun::star::uno::Reference<
- ::com::sun::star::uno::XInterface >() );
+ css::uno::Reference<
+ css::uno::XInterface >() );
}
::System::Runtime::InteropServices::GCHandle handle(
diff --git a/cli_ure/source/uno_bridge/cli_proxy.cxx b/cli_ure/source/uno_bridge/cli_proxy.cxx
index 2983d9328013..86e5078db376 100644
--- a/cli_ure/source/uno_bridge/cli_proxy.cxx
+++ b/cli_ure/source/uno_bridge/cli_proxy.cxx
@@ -1106,11 +1106,11 @@ void SAL_CALL cli_proxy_dispatch(
catch (BridgeRuntimeError & err)
{
// binary identical struct
- ::com::sun::star::uno::RuntimeException exc(
+ css::uno::RuntimeException exc(
"[cli_uno bridge error] " + err.m_message,
- ::com::sun::star::uno::Reference<
- ::com::sun::star::uno::XInterface >() );
- ::com::sun::star::uno::Type const & exc_type = ::getCppuType( & exc);
+ css::uno::Reference<
+ css::uno::XInterface >() );
+ css::uno::Type const & exc_type = ::getCppuType( & exc);
uno_type_any_construct( *uno_exc, &exc, exc_type.getTypeLibType(), 0);
#if OSL_DEBUG_LEVEL >= 1
OString cstr_msg(OUStringToOString(exc.Message,
diff --git a/cli_ure/source/uno_bridge/cli_proxy.h b/cli_ure/source/uno_bridge/cli_proxy.h
index 81f3704e9171..77823f8c08ae 100644
--- a/cli_ure/source/uno_bridge/cli_proxy.h
+++ b/cli_ure/source/uno_bridge/cli_proxy.h
@@ -176,7 +176,7 @@ struct CliProxy: public uno_Interface
const Bridge* m_bridge;
const gcroot<System::Object^> m_cliI;
gcroot<System::Type^> m_type;
- const com::sun::star::uno::TypeDescription m_unoType;
+ const css::uno::TypeDescription m_unoType;
const gcroot<System::String^> m_oid;
const OUString m_usOid;