diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2012-11-29 21:26:09 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-11-30 14:36:36 +0100 |
commit | 66a175834c39ccde9475eac3adb72a843110d01f (patch) | |
tree | ef925daaf84a85731525c2b14f0cd4a2ed84e2de /unoxml | |
parent | 90eac3e69749a9227c4b6902b1f3cef1e338c6d1 (diff) |
c++ API: use css alias in generated headers, adds global css decl
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star
Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.
Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/rdf/CBlankNode.cxx | 2 | ||||
-rw-r--r-- | unoxml/source/rdf/CLiteral.cxx | 2 | ||||
-rw-r--r-- | unoxml/source/rdf/CNodes.hxx | 6 | ||||
-rw-r--r-- | unoxml/source/rdf/CURI.cxx | 2 | ||||
-rw-r--r-- | unoxml/source/rdf/librdf_repository.hxx | 2 |
5 files changed, 0 insertions, 14 deletions
diff --git a/unoxml/source/rdf/CBlankNode.cxx b/unoxml/source/rdf/CBlankNode.cxx index 0f6f012c01b0..fd949ce641fe 100644 --- a/unoxml/source/rdf/CBlankNode.cxx +++ b/unoxml/source/rdf/CBlankNode.cxx @@ -30,8 +30,6 @@ /// anonymous implementation namespace namespace { -namespace css = ::com::sun::star; - class CBlankNode: public ::cppu::WeakImplHelper3< css::lang::XServiceInfo, diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx index fb7251d2c96b..2261d45819bd 100644 --- a/unoxml/source/rdf/CLiteral.cxx +++ b/unoxml/source/rdf/CLiteral.cxx @@ -32,8 +32,6 @@ /// anonymous implementation namespace namespace { -namespace css = ::com::sun::star; - class CLiteral: public ::cppu::WeakImplHelper3< css::lang::XServiceInfo, diff --git a/unoxml/source/rdf/CNodes.hxx b/unoxml/source/rdf/CNodes.hxx index 432107fa4cb5..87e1344c7282 100644 --- a/unoxml/source/rdf/CNodes.hxx +++ b/unoxml/source/rdf/CNodes.hxx @@ -27,8 +27,6 @@ // component helper namespace namespace comp_CBlankNode { -namespace css = ::com::sun::star; - // component and service helper functions: ::rtl::OUString SAL_CALL _getImplementationName(); css::uno::Sequence< ::rtl::OUString > SAL_CALL _getSupportedServiceNames(); @@ -40,8 +38,6 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL _create( css::uno::Referenc // component helper namespace namespace comp_CURI { -namespace css = ::com::sun::star; - // component and service helper functions: ::rtl::OUString SAL_CALL _getImplementationName(); css::uno::Sequence< ::rtl::OUString > SAL_CALL _getSupportedServiceNames(); @@ -53,8 +49,6 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL _create( css::uno::Referenc // component helper namespace namespace comp_CLiteral { -namespace css = ::com::sun::star; - // component and service helper functions: ::rtl::OUString SAL_CALL _getImplementationName(); css::uno::Sequence< ::rtl::OUString > SAL_CALL _getSupportedServiceNames(); diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx index e073aa655e94..d0955378e60f 100644 --- a/unoxml/source/rdf/CURI.cxx +++ b/unoxml/source/rdf/CURI.cxx @@ -31,8 +31,6 @@ /// anonymous implementation namespace namespace { -namespace css = ::com::sun::star; - class CURI: public ::cppu::WeakImplHelper3< css::lang::XServiceInfo, diff --git a/unoxml/source/rdf/librdf_repository.hxx b/unoxml/source/rdf/librdf_repository.hxx index f5a84e5cd81c..5cfe623b8999 100644 --- a/unoxml/source/rdf/librdf_repository.hxx +++ b/unoxml/source/rdf/librdf_repository.hxx @@ -27,8 +27,6 @@ // component helper namespace namespace comp_librdf_Repository { -namespace css = ::com::sun::star; - // component and service helper functions: ::rtl::OUString SAL_CALL _getImplementationName(); css::uno::Sequence< ::rtl::OUString > SAL_CALL _getSupportedServiceNames(); |