summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-11-29 21:26:09 +0100
committerThorsten Behrens <tbehrens@suse.com>2012-11-30 14:36:36 +0100
commit66a175834c39ccde9475eac3adb72a843110d01f (patch)
treeef925daaf84a85731525c2b14f0cd4a2ed84e2de /unoxml
parent90eac3e69749a9227c4b6902b1f3cef1e338c6d1 (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.cxx2
-rw-r--r--unoxml/source/rdf/CLiteral.cxx2
-rw-r--r--unoxml/source/rdf/CNodes.hxx6
-rw-r--r--unoxml/source/rdf/CURI.cxx2
-rw-r--r--unoxml/source/rdf/librdf_repository.hxx2
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();